C++ Crashkurs
kernelpanic.h File Reference
Macro to print an error message and stop the current core. More...
Include dependency graph for kernelpanic.h:
Macros | |
#define | kernelpanic(MSG) |
Print an error message in the debug window and stop the current core. More... | |
Detailed Description
Macro to print an error message and stop the current core.
Macro Definition Documentation
#define kernelpanic | ( | MSG | ) |
Value:
do { \
DBG << "PANIC: '" << (MSG) << "' in " << __func__ \
<< " @ " << __FILE__ << ":" << __LINE__ \
Core::die(); \
} while (0)
Print an error message in the debug window and stop the current core.
- Parameters
-
MSG error message