documentation/kernel/utils/panic.h.md

9 lines
250 B
Markdown
Raw Normal View History

2023-05-28 17:16:43 +00:00
# panic.h
ahhhh - the kernel is burning!
# `panic(state, message)` - function (void)
This prints out the error message, a stack backtrace and a register dump.
After that, the kernel halts forever.
This function is called, when a fatal error occurs