summaryrefslogtreecommitdiff
path: root/src/arch/amd64/cpu/idt.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-02-03 21:38:57 -0500
committerFreya Murphy <freya@freyacat.org>2024-02-03 21:39:02 -0500
commit61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859 (patch)
tree757350208c44ac1e639dc7095d3e80eedc6cd74a /src/arch/amd64/cpu/idt.c
parentformatting (diff)
downloadcorn-61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859.tar.gz
corn-61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859.tar.bz2
corn-61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859.zip
acpi table loading and shutdown works, plus mmap fix :3
Diffstat (limited to 'src/arch/amd64/cpu/idt.c')
-rw-r--r--src/arch/amd64/cpu/idt.c2
1 files changed, 1 insertions, 1 deletions
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");