summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c')
-rw-r--r--c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c b/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
index 64f77317f7..f2fb9d2e17 100644
--- a/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
+++ b/c/src/lib/libcpu/mips/shared/interrupts/maxvectors.c
@@ -31,10 +31,12 @@
* through the IP bits, and 32 more from the PFICR. Some of
* these are reserved but for simplicity in processing, we
* reserve slots for those bits anyway.
+ *
+ * gdm, 5/14, added 15 more slots so exceptions can be vectored as well.
*/
#if defined(MONGOOSEV)
-#define MAX_VECTORS 37
+#define MAX_VECTORS (38+10)
#endif
#ifndef MAX_VECTORS
@@ -42,3 +44,4 @@
#endif
unsigned int mips_interrupt_number_of_vectors = MAX_VECTORS;
+