From 2835b3a5683ef8dc6b6e7da02c7754ac5d700344 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Feb 2002 15:15:02 +0000 Subject: 2001-02-01 Greg Menke * 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. --- c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libcpu/mips/shared/interrupts/vectorexceptions.c') 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 #include "iregdef.h" #include "idtcpu.h" -#include +#include 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. -- cgit v1.2.3