From 61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 3 Feb 2024 21:38:57 -0500 Subject: acpi table loading and shutdown works, plus mmap fix :3 --- src/arch/amd64/cpu/idt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/amd64/cpu/idt.c') diff --git a/src/arch/amd64/cpu/idt.c b/src/arch/amd64/cpu/idt.c index 3e98b55..464bdb0 100644 --- a/src/arch/amd64/cpu/idt.c +++ b/src/arch/amd64/cpu/idt.c @@ -135,7 +135,7 @@ void idt_exception_handler(uint64_t exception, uint64_t code, struct isr_regs *s kprintf("Error code 0x%lX\n", code); if (exception == EX_PAGE_FAULT) { - kprintf("Page fault address: 0x%lX\n", cr2); + kprintf("Page fault address: %#016lx\n", cr2); } kputs("\n"); -- cgit v1.2.3-freya