unhandled_page_fault(): print registers for kernel mode PF
This commit is contained in:
@ -1101,13 +1101,12 @@ unhandled_page_fault(struct thread *thread, void *fault_addr, void *regs)
|
|||||||
|
|
||||||
kprintf_unlock(irqflags);
|
kprintf_unlock(irqflags);
|
||||||
|
|
||||||
if (!(error & PF_USER)) {
|
|
||||||
panic("panic: kernel mode PF");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* TODO */
|
/* TODO */
|
||||||
ihk_mc_debug_show_interrupt_context(regs);
|
ihk_mc_debug_show_interrupt_context(regs);
|
||||||
|
|
||||||
|
if (!(error & PF_USER)) {
|
||||||
|
panic("panic: kernel mode PF");
|
||||||
|
}
|
||||||
|
|
||||||
//dkprintf("now dump a core file\n");
|
//dkprintf("now dump a core file\n");
|
||||||
//coredump(proc, regs);
|
//coredump(proc, regs);
|
||||||
|
|||||||
Reference in New Issue
Block a user