|
LumaOS
v0.1.116
An experimental x86-64 OS
|
Handler for kernel panics. More...
Go to the source code of this file.
Macros | |
| #define | PANIC(...) |
| Calls panic and automatically fills in the parameters. | |
Functions | |
| __attribute__ ((noreturn)) void panic_at(const char *file | |
| Prints information about a kernel panic. | |
Variables | |
| int | line_int |
| int const char * | func |
Handler for kernel panics.
Definition in file panic.h.
| #define PANIC | ( | ... | ) |
| __attribute__ | ( | (noreturn) | ) | const |
Prints information about a kernel panic.
| file | The file name that caused the panic (FILLED IN AUTOMATICALLY) |
| line_int | The line number in the file that caused the panic (FILLED IN AUTOMATICALLY) |
| func | The function name that caused the panic (FILLED IN AUTOMATICALLY) |
| ... | The extra parameters passed in by the panic (description as a format string, as well as the arguments for that) |