From 8f3c1d20d135f9a31c87130f1c40554832cc8cbd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 28 May 1999 16:08:18 +0000 Subject: At the request of Gumby, the cpu is now halted rather than spinning on a fatal exception. --- c/src/exec/score/cpu/i386/cpu.c | 2 +- cpukit/score/cpu/i386/cpu.c | 2 +- 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 { /* -- cgit v1.2.3