]> Zhao Yanbai Git Server - minix.git/commitdiff
kernel: small ammendment to pagefault-in-kernel panic
authorBen Gras <ben@minix3.org>
Wed, 12 May 2010 08:56:11 +0000 (08:56 +0000)
committerBen Gras <ben@minix3.org>
Wed, 12 May 2010 08:56:11 +0000 (08:56 +0000)
kernel/arch/i386/exception.c

index dd16cccb8f8282c4f6abca21d49ef51a1997e35e..89c5dbcb5fa1d2c1ad6877bf3a1827fbf4dd5315 100644 (file)
@@ -56,7 +56,7 @@ PRIVATE void pagefault( struct proc *pr,
        }
 
        if(is_nested) {
-               panic("pagefault in kernel at address 0x%lx", pagefaultcr2);
+               panic("pagefault in kernel at pc 0x%lx address 0x%lx", frame->eip, pagefaultcr2);
        }
 
        /* System processes that don't have their own page table can't