diff options
Diffstat (limited to 'kernel/isr.c')
-rw-r--r-- | kernel/isr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/isr.c b/kernel/isr.c index e6a9871..b715de0 100644 --- a/kernel/isr.c +++ b/kernel/isr.c @@ -13,6 +13,12 @@ void isr_double_fault(struct interrupt_frame *frame) { } __attribute__((interrupt)) +void isr_general_protection_fault(struct interrupt_frame *frame) { + tty_const("#GP"); + panic(); +} + +__attribute__((interrupt)) void isr_test_interrupt(struct interrupt_frame *frame) { isr_test_interrupt_called = true; } |