use nicer output messages
This commit is contained in:
parent
556734bf8c
commit
75cf088989
1 changed files with 2 additions and 1 deletions
|
@ -611,10 +611,11 @@ static void pagefault_handler(struct state *s)
|
|||
}
|
||||
|
||||
default_handler:
|
||||
kprintf("PAGE FAULT: Task %u got page fault at %p (irq %d)\n", task->id, viraddr, s->int_no);
|
||||
kprintf("PAGE FAULT: Task %u got page fault at %p (irq %d, cs:eip 0x%x:0x%x)\n", task->id, viraddr, s->int_no, s->cs, s->eip);
|
||||
kprintf("Register state: eax = 0x%x, ebx = 0x%x, ecx = 0x%x, edx = 0x%x, edi = 0x%x, esi = 0x%x, ebp = 0x%x, esp = 0x%x\n",
|
||||
s->eax, s->ebx, s->ecx, s->edx, s->edi, s->esi, s->ebp, s->esp);
|
||||
|
||||
irq_enable();
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue