aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/interrupts/isr.c')
-rw-r--r--src/kernel/interrupts/isr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/kernel/interrupts/isr.c b/src/kernel/interrupts/isr.c
index 66a2a38..73e24a3 100644
--- a/src/kernel/interrupts/isr.c
+++ b/src/kernel/interrupts/isr.c
@@ -132,12 +132,8 @@ void fault_handler(struct regs *r)
process_suspend(current_proc->pid);
process_force_switch();
} else {
- if (faulting_address != (u32)fb) {
- panic("Page fault before multitasking started!");
- } else {
- debug(RED "Fatal video error!" RES);
- halt_loop();
- }
+ debug(RED "%s before multitasking started!" RES, message);
+ halt_loop();
}
}
} \ No newline at end of file