diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-01 15:15:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-02-01 15:15:02 +0000 |
commit | 2835b3a5683ef8dc6b6e7da02c7754ac5d700344 (patch) | |
tree | 8c585d994dd5d63425a1d66d677cc2bd109f9413 /c/src/lib/libcpu/mips/shared/interrupts | |
parent | 2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff) | |
download | rtems-2835b3a5683ef8dc6b6e7da02c7754ac5d700344.tar.bz2 |
2001-02-01 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Lots of tinkering and tuning as part of improving interrupt latency
and improving the per-task interrupt level control and FP mask handling.
With these modifications interrupt latency was measured at a worst-case
of 100us, average below 60 us on a 12 Mhz R3000 class CPU with 50
RTEMS tasks in the application.
* mongoosev/README: Updated.
* mongoosev/include/mongoose-v.h: Masks modified.
* mongoosev/vectorisrs/vectorisrs.c: Significant overhaul to address
software prioritization of interrupts. If a higher priority interrupt
occurs while we are looking for new interrupts, we will reinitiate the
scan of all interrupts.
* shared/interrupts/vectorexceptions.c: Removed warning and deleted
blank lines.
Diffstat (limited to 'c/src/lib/libcpu/mips/shared/interrupts')
-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. |