From eb562f2c860061868e4ea1a821a84147b694dd07 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 21 Aug 1998 16:39:52 +0000 Subject: Patch from Eric Valette : 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... --- c/src/lib/libcpu/i386/displayCpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'c/src/lib/libcpu') 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 #include #include - -extern void printk(const char*, ...); +#include unsigned char Cx86_step = 0; static const char *Cx86_type[] = { -- cgit v1.2.3