PERFORCE change 134376 for review
Randall R. Stewart
rrs at FreeBSD.org
Tue Jan 29 08:39:32 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134376
Change 134376 by rrs at rrs-mips2-jnpr on 2008/01/29 16:39:02
adds missing reg's
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/include/cpuregs.h#4 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/include/cpuregs.h#4 (text+ko) ====
@@ -99,7 +99,11 @@
#define MIPS_XKPHYS_TO_PHYS(x) ((x) & 0x0effffffffffffffULL)
/* CPU dependent mtc0 hazard hook */
+#ifdef TARGET_OCTEON
+#define COP0_SYNC nop; nop; nop; nop; nop;
+#else
#define COP0_SYNC /* nothing */
+#endif
#define COP0_HAZARD_FPUENABLE nop; nop; nop; nop;
/*
@@ -141,6 +145,7 @@
#define MIPS_SR_COP_USABILITY 0xf0000000
#define MIPS_SR_COP_0_BIT 0x10000000
#define MIPS_SR_COP_1_BIT 0x20000000
+#define MIPS_SR_COP_2_BIT 0x40000000
/* r4k and r3k differences, see below */
@@ -148,6 +153,7 @@
#define MIPS_SR_PX 0x00800000 /* MIPS64 */
#define MIPS_SR_BEV 0x00400000 /* Use boot exception vector */
#define MIPS_SR_TS 0x00200000
+#define MIPS_SR_DE 0x00010000
#define MIPS_SR_INT_IE 0x00000001
/*#define MIPS_SR_MBZ 0x0f8000c0*/ /* Never used, true for r3k */
More information about the p4-projects
mailing list