summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/interrupts
diff options
context:
space:
mode:
authordzwdz2021-08-09 21:21:56 +0200
committerdzwdz2021-08-09 21:21:56 +0200
commitab1843f5de80752ba40fb1ea5075eb7e3dad8171 (patch)
tree9c01d71eef5abc6c5d66c1110e8a7c6ccb0c0281 /src/kernel/arch/i386/interrupts
parent5836c7df10d48b9c3241f2fbdb9ea3a37313a6fd (diff)
rename `log_` to `tty_`, `tty_` to `vga_`
Diffstat (limited to 'src/kernel/arch/i386/interrupts')
-rw-r--r--src/kernel/arch/i386/interrupts/isr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c
index 800bdba..96d053e 100644
--- a/src/kernel/arch/i386/interrupts/isr.c
+++ b/src/kernel/arch/i386/interrupts/isr.c
@@ -4,7 +4,7 @@
#include <stdbool.h>
#include <stdint.h>
-#define log_n_panic(x) {log_const(x); panic();}
+#define log_n_panic(x) {tty_const(x); panic();}
bool isr_test_interrupt_called = false;
@@ -18,8 +18,6 @@ void isr_stage3(int interrupt) {
isr_test_interrupt_called = true;
return;
- default:
- log_const("unknown interrupt");
- panic();
+ default: log_n_panic("unknown interrupt");
}
}