summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-28 16:08:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-28 16:08:18 +0000
commit8f3c1d20d135f9a31c87130f1c40554832cc8cbd (patch)
tree7049c03bb565897704e76e8986bb956095c9574a
parentRegenerated. (diff)
downloadrtems-8f3c1d20d135f9a31c87130f1c40554832cc8cbd.tar.bz2
At the request of Gumby, the cpu is now halted rather than spinning
on a fatal exception.
-rw-r--r--c/src/exec/score/cpu/i386/cpu.c2
-rw-r--r--cpukit/score/cpu/i386/cpu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/i386/cpu.c b/c/src/exec/score/cpu/i386/cpu.c
index da270d80e7..476e610b67 100644
--- a/c/src/exec/score/cpu/i386/cpu.c
+++ b/c/src/exec/score/cpu/i386/cpu.c
@@ -119,7 +119,7 @@ void _defaultExcHandler (CPU_Exception_frame *ctx)
* because the eip points to the faulty instruction so...
*/
printk("Exception while executing ISR!!!. System locked\n");
- while(1);
+ _CPU_Fatal_halt(faultAddr);
}
else {
/*
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index da270d80e7..476e610b67 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -119,7 +119,7 @@ void _defaultExcHandler (CPU_Exception_frame *ctx)
* because the eip points to the faulty instruction so...
*/
printk("Exception while executing ISR!!!. System locked\n");
- while(1);
+ _CPU_Fatal_halt(faultAddr);
}
else {
/*