diff options
author | dzwdz | 2022-04-14 12:19:51 +0200 |
---|---|---|
committer | dzwdz | 2022-04-14 12:19:51 +0200 |
commit | 2eead2f6eab2aa1fbc727ce28d9fa9a8e90a1eec (patch) | |
tree | d4bb0ae50e5f612a4fae67763414f72ea1a85b8a /src/kernel/panic.h | |
parent | dcb2ce6337f54a9821e3971976a07e767846e3c1 (diff) |
kernel: port init's `printf` implementation
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r-- | src/kernel/panic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h index 738bff3..c4cd194 100644 --- a/src/kernel/panic.h +++ b/src/kernel/panic.h @@ -3,9 +3,9 @@ #include <kernel/util.h> #define _panic(type) do { \ - tty_const(" an "type" PANIC! at the "); \ - tty_const(__func__); \ - tty_const(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \ + kprintf(" an "type" PANIC! at the "); \ + kprintf(__func__); \ + kprintf(" (" __FILE__ ":" NUM2STR(__LINE__) ") "); \ halt_cpu(); \ } while (0) |