documentation/kernel/utils/panic.h.md

250 B

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