Nucleus
Barry Per-CPU Scheduler bb0cb77 (3 years, 2 months ago)
diff --git a/memory/fault.c b/memory/fault.c
index efc8b66..1de4939 100644
--- a/memory/fault.c
+++ b/memory/fault.c
@@ -213,7 +213,7 @@ early_page_fault_handler(struct InterruptFrame *frame)
uint8_t write = frame->err & (1 << 1);
uint8_t user = frame->err & (1 << 2);
if (!PAGE_ADDR(addr))
- panic("Null dereference @ %#.8x (CPU#%d)", frame->eip, cpu->id);
+ panic("Null dereference @ %#.8x -> %#.8x", frame->eip, addr);
ASSERT(!present);
kprintf("Allocating frame for %#.8x [%#.8x] CPU#%d",
addr, frame->eip, cpu->id);