|
ArvernOS
|
Macros | |
| #define | PANIC(...) |
| This macro should only be used when something goes terribly wrong. | |
| #define | PANIC_NO_STACKTRACE(...) |
Functions | |
| void | kernel_panic (bool dump_stacktrace, const char *format,...) |
| void | kernel_dump_stacktrace () |
This file mainly contains the macros to use for kernel panics.
| #define PANIC_NO_STACKTRACE | ( | ... | ) |
This macro is similar to PANIC() but it won't attempt to print a stacktrace.
| void kernel_dump_stacktrace | ( | ) |
Dumps a stacktrace on both the standard and debug outputs (unless both are the same, in which case we do not print the debug messages).
| void kernel_panic | ( | bool | dump_stacktrace, |
| const char * | format, | ||
| ... ) |
Handles a kernel panic.
| dump_stacktrace | whether to dump a stacktrace |
| format | the reason for the kernel panic |