summaryrefslogtreecommitdiff
path: root/src/arch/i386/interrupts/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/interrupts/isr.c')
-rw-r--r--src/arch/i386/interrupts/isr.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/arch/i386/interrupts/isr.c b/src/arch/i386/interrupts/isr.c
deleted file mode 100644
index 1603fba..0000000
--- a/src/arch/i386/interrupts/isr.c
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <arch/i386/interrupts/isr.h>
-#include <arch/log.h>
-#include <kernel/panic.h>
-#include <stdbool.h>
-#include <stdint.h>
-
-bool isr_test_interrupt_called = false;
-
-__attribute__((interrupt))
-void isr_double_fault(struct interrupt_frame *frame) {
- log_const("#DF");
- panic();
-}
-
-__attribute__((interrupt))
-void isr_general_protection_fault(struct interrupt_frame *frame) {
- log_const("#GP");
- panic();
-}
-
-__attribute__((interrupt))
-void isr_test_interrupt(struct interrupt_frame *frame) {
- isr_test_interrupt_called = true;
-}