summaryrefslogtreecommitdiff
path: root/src/kernel/panic.h
diff options
context:
space:
mode:
authordzwdz2021-08-09 21:21:56 +0200
committerdzwdz2021-08-09 21:21:56 +0200
commitab1843f5de80752ba40fb1ea5075eb7e3dad8171 (patch)
tree9c01d71eef5abc6c5d66c1110e8a7c6ccb0c0281 /src/kernel/panic.h
parent5836c7df10d48b9c3241f2fbdb9ea3a37313a6fd (diff)
rename `log_` to `tty_`, `tty_` to `vga_`
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r--src/kernel/panic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h
index 3f48c22..1e25a83 100644
--- a/src/kernel/panic.h
+++ b/src/kernel/panic.h
@@ -3,8 +3,8 @@
#include <kernel/util.h>
#define panic() do { \
- log_const(" PANIC! at the "); \
- log_const(__func__); \
- log_const(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \
+ tty_const(" PANIC! at the "); \
+ tty_const(__func__); \
+ tty_const(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \
halt_cpu(); \
} while (0)