summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/boot/idt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/i386/boot/idt.c b/arch/i386/boot/idt.c
index 61cb709..d4251eb 100644
--- a/arch/i386/boot/idt.c
+++ b/arch/i386/boot/idt.c
@@ -49,12 +49,10 @@ void halt_catch_fire(struct isr_frame *frame) {
while (1);
}
-__attribute__((noreturn))
void exception_handler(struct isr_frame *frame) {
switch (frame->vector) {
case 0x0E:
- kprintf("PAGE FAULT\n");
- halt_catch_fire(frame);
+ page_fault_handler(frame);
break;
default:
kprintf("Unhandled exception: %s\n", exceptions[frame->vector]);