diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 21:38:57 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 21:39:02 -0500 |
commit | 61e7fdf1eb7d5d4a66c443fe6bd16fd2a2a92859 (patch) | |
tree | 757350208c44ac1e639dc7095d3e80eedc6cd74a /src/arch/amd64/cpu | |
parent | formatting (diff) | |
download | corn-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')
-rw-r--r-- | src/arch/amd64/cpu/idt.c | 2 |
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"); |