|
@@ -405,6 +405,16 @@
|
|
#define ST0_CU3 0x80000000
|
|
#define ST0_CU3 0x80000000
|
|
#define ST0_XX 0x80000000 /* MIPS IV naming */
|
|
#define ST0_XX 0x80000000 /* MIPS IV naming */
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * Bitfields and bit numbers in the coprocessor 0 IntCtl register. (MIPSR2)
|
|
|
|
+ *
|
|
|
|
+ * Refer to your MIPS R4xx0 manual, chapter 5 for explanation.
|
|
|
|
+ */
|
|
|
|
+#define INTCTLB_IPPCI 26
|
|
|
|
+#define INTCTLF_IPPCI (_ULCAST_(7) << INTCTLB_IPPCI)
|
|
|
|
+#define INTCTLB_IPTI 29
|
|
|
|
+#define INTCTLF_IPTI (_ULCAST_(7) << INTCTLB_IPTI)
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Bitfields and bit numbers in the coprocessor 0 cause register.
|
|
* Bitfields and bit numbers in the coprocessor 0 cause register.
|
|
*
|
|
*
|
|
@@ -434,6 +444,8 @@
|
|
#define CAUSEF_IV (_ULCAST_(1) << 23)
|
|
#define CAUSEF_IV (_ULCAST_(1) << 23)
|
|
#define CAUSEB_CE 28
|
|
#define CAUSEB_CE 28
|
|
#define CAUSEF_CE (_ULCAST_(3) << 28)
|
|
#define CAUSEF_CE (_ULCAST_(3) << 28)
|
|
|
|
+#define CAUSEB_TI 30
|
|
|
|
+#define CAUSEF_TI (_ULCAST_(1) << 30)
|
|
#define CAUSEB_BD 31
|
|
#define CAUSEB_BD 31
|
|
#define CAUSEF_BD (_ULCAST_(1) << 31)
|
|
#define CAUSEF_BD (_ULCAST_(1) << 31)
|
|
|
|
|