summaryrefslogtreecommitdiff
path: root/src/kernel/panic.h
diff options
context:
space:
mode:
authordzwdz2022-07-16 13:33:00 +0200
committerdzwdz2022-07-16 13:33:00 +0200
commit912d2e3c7eb1baa71dda2c0a28aa5809eaa96f27 (patch)
tree4e27f3538466d5fd63a311d50916039a7a15a485 /src/kernel/panic.h
parent1eeb66af44ab335888410d716d604e569f20866e (diff)
amd64: barely boot into kernel code
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r--src/kernel/panic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h
index 8cb32f4..4e591f1 100644
--- a/src/kernel/panic.h
+++ b/src/kernel/panic.h
@@ -7,7 +7,7 @@
kprintf(__func__); \
kprintf(" (" __FILE__ ":" NUM2STR(__LINE__) ")\n"); \
debug_stacktrace(); \
- halt_cpu(); \
+ cpu_halt(); \
} while (0)
#define panic_invalid_state() _panic("invalid state")