diff options
Diffstat (limited to 'c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c')
-rw-r--r-- | c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c b/c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c index 926f4bb9d4..e57375307b 100644 --- a/c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c +++ b/c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c @@ -11,7 +11,7 @@ #include <stdlib.h> #include "iregdef.h" #include "idtcpu.h" -#include <rtems/bspIo.h> +#include <bspIo.h> char *cause_strings[32] = { @@ -89,6 +89,9 @@ void mips_default_exception_code_handler( int exc, CPU_Interrupt_frame *frame ) rtems_fatal_error_occurred(1); } + + + #define CALL_EXC(_vector,_frame) \ do { \ if ( _ISR_Vector_table[_vector] ) \ @@ -97,6 +100,9 @@ void mips_default_exception_code_handler( int exc, CPU_Interrupt_frame *frame ) mips_default_exception_code_handler( _vector, _frame ); \ } while(0) + + + /* * There are constants defined for these but they should basically * all be close to the same set. |