summaryrefslogtreecommitdiff
path: root/src/arch/i386/interrupts/isr.c
diff options
context:
space:
mode:
authordzwdz2021-07-18 14:16:24 +0200
committerdzwdz2021-07-18 14:16:24 +0200
commited12953042ec38244f3ab93d67f4c2dea6f1fee3 (patch)
tree7984f01c156535fb57104db9cbcf0f8a9112b7ed /src/arch/i386/interrupts/isr.c
parente333a43fb7c1e39418cfcc1be660d5006903c42a (diff)
move all kernel sources to src/kernel/
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;
-}