summaryrefslogtreecommitdiffstats
path: root/c
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 /c
parentbb5d6ecf802f4d1579842ebb9c89874cdf9916bc (diff)
downloadrtems-8f3c1d20d135f9a31c87130f1c40554832cc8cbd.tar.bz2
At the request of Gumby, the cpu is now halted rather than spinning
on a fatal exception.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/cpu/i386/cpu.c2
1 files changed, 1 insertions, 1 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 {
/*