Date: Thu, 6 Jul 2006 14:44:13 GMT From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 100755 for review Message-ID: <200607061444.k66EiDv1089255@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100755 Change 100755 by wkoszek@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607061444.k66EiDv1089255>