PERFORCE change 100755 for review
Wojciech A. Koszek
wkoszek at FreeBSD.org
Thu Jul 6 14:44:14 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100755
Change 100755 by wkoszek at wkoszek_laptop on 2006/07/06 14:43:40
TRAPF_USERMODE and TRAPF_PC won't work correctly until we have
proper trap frame structures. Declare those as zero-macros.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/include/cpu.h#4 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/include/cpu.h#4 (text+ko) ====
@@ -56,10 +56,16 @@
#define cpu_setstack(td, ap) (0)
#define cpu_spinwait()
-
+/*
+ * XXXMIPS: Change those once we'll bring header files from NetBSD.
+ */
+#if 0
#define TRAPF_USERMODE(framep) \
(ISPL((framep)->tf_cs) == SEL_UPL)
#define TRAPF_PC(framep) ((framep)->tf_rip)
+#endif
+#define TRAPF_USERMODE(framep) (0)
+#define TRAPF_PC(framep) (0)
/*
* CTL_MACHDEP definitions.
More information about the p4-projects
mailing list