diff options
Diffstat (limited to 'c/src')
-rw-r--r-- | c/src/exec/score/cpu/i386/cpu.c | 2 |
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 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); |