diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-21 16:39:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-21 16:39:52 +0000 |
commit | eb562f2c860061868e4ea1a821a84147b694dd07 (patch) | |
tree | 4273d9ac092dab0e00e065a365595a2b30fcc95f /c/src/lib/libcpu/i386/displayCpu.c | |
parent | Spacing changes (diff) | |
download | rtems-eb562f2c860061868e4ea1a821a84147b694dd07.tar.bz2 |
Patch from Eric Valette <valette@crf.canon.fr>:
Here is a patch that enables to catch exception
and get message before crashing RTEMS :)
It should be generic to any Intel port although enabled
only for pc386 BSP...
[Joel] I fixed the bug I introduced in irq_asm.s...
Diffstat (limited to 'c/src/lib/libcpu/i386/displayCpu.c')
-rw-r--r-- | c/src/lib/libcpu/i386/displayCpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/i386/displayCpu.c b/c/src/lib/libcpu/i386/displayCpu.c index ff748b7b43..eb9725b38b 100644 --- a/c/src/lib/libcpu/i386/displayCpu.c +++ b/c/src/lib/libcpu/i386/displayCpu.c @@ -19,8 +19,7 @@ #include <libcpu/cpu.h> #include <string.h> #include <libcpu/cpuModel.h> - -extern void printk(const char*, ...); +#include <bspIo.h> unsigned char Cx86_step = 0; static const char *Cx86_type[] = { |