From 6dfebd9f338fcd9811a7147493fe444c24f57fe5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 24 Feb 1999 14:32:46 +0000 Subject: Corrected name of constant so this would compile. --- c/src/exec/score/cpu/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/exec/score') diff --git a/c/src/exec/score/cpu/i386/cpu.c b/c/src/exec/score/cpu/i386/cpu.c index 9c702ce382..da270d80e7 100644 --- a/c/src/exec/score/cpu/i386/cpu.c +++ b/c/src/exec/score/cpu/i386/cpu.c @@ -106,7 +106,7 @@ void _defaultExcHandler (CPU_Exception_frame *ctx) printk("Error code pushed by processor itself (if not 0) = %x\n", ctx->faultCode); printk("----------------------------------------------------------\n"); - if (ctx->idtIndex == PAGE_FAULT){ + if (ctx->idtIndex == I386_EXCEPTION_PAGE_FAULT){ faultAddr = i386_get_cr2(); printk("Page fault linear address (CR2) = %x\n", faultAddr); -- cgit v1.2.3