aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/system.h')
-rw-r--r--src/kernel/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/system.h b/src/kernel/system.h
index 3f5b595..8cd4244 100644
--- a/src/kernel/system.h
+++ b/src/kernel/system.h
@@ -121,6 +121,7 @@ static inline void panic(char *msg) {
terminal_write_string("PANIC: ");
terminal_write_string(msg);
terminal_write_string(" - System Halted!");
+ write_serial(msg);
loop:
asm volatile ("hlt");
goto loop;