summaryrefslogtreecommitdiff
path: root/kernel/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/isr.c')
-rw-r--r--kernel/isr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/isr.c b/kernel/isr.c
index 331e9a5..e6a9871 100644
--- a/kernel/isr.c
+++ b/kernel/isr.c
@@ -1,4 +1,5 @@
#include <kernel/isr.h>
+#include <kernel/panic.h>
#include <kernel/tty.h>
#include <stdbool.h>
#include <stdint.h>
@@ -8,7 +9,7 @@ bool isr_test_interrupt_called = false;
__attribute__((interrupt))
void isr_double_fault(struct interrupt_frame *frame) {
tty_const("#DF");
- for(;;);
+ panic();
}
__attribute__((interrupt))