forked from Imagelibrary/rtems
2002-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
* cpu_asm.S: Added SR_IEO to context restore to fix isr disabled deadlock caused by interrupt arriving while dispatching.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-07-16 Greg Menke <gregory.menke@gsfc.nasa.gov>
|
||||
|
||||
* cpu_asm.S: Added SR_IEO to context restore to fix isr disabled
|
||||
deadlock caused by interrupt arriving while dispatching.
|
||||
|
||||
2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: RTEMS_TOP(../../../..).
|
||||
@@ -72,7 +77,7 @@
|
||||
end of the frame gdb cares about, so doesn't affect gdb or cpu.h
|
||||
stuff.
|
||||
* rtems/score/cpu.h: added an #ifdef so cpu_asm.S can include it
|
||||
to obtain FPU defines without systax errors generated by the C
|
||||
to obtain FPU defines without syntax errors generated by the C
|
||||
defintions.
|
||||
* cpu.c: Improved interrupt level saves & restores.
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* left it in...
|
||||
*/
|
||||
|
||||
#define INSTRUMENT_ISR_VECTORING
|
||||
/* #define INSTRUMENT_ISR_VECTORING */
|
||||
/* #define INSTRUMENT_EXECUTING_THREAD */
|
||||
|
||||
|
||||
@@ -484,7 +484,7 @@ _CPU_Context_switch_restore:
|
||||
#if __mips == 3
|
||||
or t2,SR_EXL + SR_IE
|
||||
#elif __mips == 1
|
||||
or t2,SR_IEC + SR_IEP /* save current & previous int enable */
|
||||
or t2,SR_IEC + SR_IEP + SR_IEO /* save current & previous int enable */
|
||||
#endif
|
||||
and t0,t2 /* keep only the per-task bits */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user