PERFORCE change 28108 for review
Peter Wemm
peter at FreeBSD.org
Fri Apr 4 17:52:04 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=28108
Change 28108 by peter at peter_daintree on 2003/04/04 17:51:19
premature update of some register names
Affected files ...
.. //depot/projects/hammer/sys/x86_64/include/cpu.h#6 edit
Differences ...
==== //depot/projects/hammer/sys/x86_64/include/cpu.h#6 (text+ko) ====
@@ -55,16 +55,16 @@
#define cpu_exec(p) /* nothing */
#define cpu_swapin(p) /* nothing */
-#define cpu_getstack(td) ((td)->td_frame->tf_esp)
-#define cpu_setstack(td, ap) ((td)->td_frame->tf_esp = (ap))
+#define cpu_getstack(td) ((td)->td_frame->tf_rsp)
+#define cpu_setstack(td, ap) ((td)->td_frame->tf_rsp = (ap))
#define TRAPF_USERMODE(framep) \
(ISPL((framep)->tf_cs) == SEL_UPL)
-#define TRAPF_PC(framep) ((framep)->tf_eip)
+#define TRAPF_PC(framep) ((framep)->tf_rip)
#define CLKF_USERMODE(framep) \
(ISPL((framep)->cf_cs) == SEL_UPL)
-#define CLKF_PC(framep) ((framep)->cf_eip)
+#define CLKF_PC(framep) ((framep)->cf_rip)
/*
* CTL_MACHDEP definitions.
More information about the p4-projects
mailing list