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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/interrupts/isr.c b/src/arch/i386/interrupts/isr.c
index 03399ea..1603fba 100644
--- a/src/arch/i386/interrupts/isr.c
+++ b/src/arch/i386/interrupts/isr.c
@@ -1,5 +1,5 @@
#include <arch/i386/interrupts/isr.h>
-#include <arch/i386/tty.h>
+#include <arch/log.h>
#include <kernel/panic.h>
#include <stdbool.h>
#include <stdint.h>
@@ -8,13 +8,13 @@ bool isr_test_interrupt_called = false;
__attribute__((interrupt))
void isr_double_fault(struct interrupt_frame *frame) {
- tty_const("#DF");
+ log_const("#DF");
panic();
}
__attribute__((interrupt))
void isr_general_protection_fault(struct interrupt_frame *frame) {
- tty_const("#GP");
+ log_const("#GP");
panic();
}