summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/interrupts/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/i386/interrupts/isr.c')
-rw-r--r--src/kernel/arch/i386/interrupts/isr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c
index 35796fa..9da06fb 100644
--- a/src/kernel/arch/i386/interrupts/isr.c
+++ b/src/kernel/arch/i386/interrupts/isr.c
@@ -21,6 +21,12 @@ void isr_general_protection_fault(UNUSED struct interrupt_frame *frame) {
}
__attribute__((interrupt))
+void isr_page_fault(UNUSED struct interrupt_frame *frame) {
+ log_const("#PF");
+ panic();
+}
+
+__attribute__((interrupt))
void isr_test_interrupt(UNUSED struct interrupt_frame *frame) {
isr_test_interrupt_called = true;
}