From ab1843f5de80752ba40fb1ea5075eb7e3dad8171 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 21:21:56 +0200 Subject: rename `log_` to `tty_`, `tty_` to `vga_` --- src/kernel/arch/i386/interrupts/isr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/kernel/arch/i386/interrupts/isr.c') 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 #include -#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"); } } -- cgit v1.2.3