summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips/cpu_asm.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-16 22:26:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-16 22:26:14 +0000
commitdc3848d0bce537e2332f27c2e46dda673890a36e (patch)
tree8a91c7860f7e64831c63f2e8448b2ab103c683ef /cpukit/score/cpu/mips/cpu_asm.S
parent2002-07-16 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-dc3848d0bce537e2332f27c2e46dda673890a36e.tar.bz2
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.
Diffstat (limited to 'cpukit/score/cpu/mips/cpu_asm.S')
-rw-r--r--cpukit/score/cpu/mips/cpu_asm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/mips/cpu_asm.S b/cpukit/score/cpu/mips/cpu_asm.S
index 657c490d96..9614705e44 100644
--- a/cpukit/score/cpu/mips/cpu_asm.S
+++ b/cpukit/score/cpu/mips/cpu_asm.S
@@ -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 */