Corrected name of constant so this would compile.

This commit is contained in:
Joel Sherrill
1999-02-24 14:32:46 +00:00
parent 4bcebc0e8a
commit 6dfebd9f33
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);