foo
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
(void)func;
|
||||
(void)file;
|
||||
(void)line;
|
||||
DBG << "Assertion failed: " << exp << "\nin function: " << func << "\nfrom file: \"" << file << "\" in line " << line << flush;
|
||||
DBG << "Assertion failed: " << exp << "\nin function: " << func << "\nfrom file: \"" << file << "\" in line " << dec << line << flush;
|
||||
// TODO: Print error message (in debug window)
|
||||
// TODO: Then stop the current core permanently
|
||||
// Use appropriate method from class Core to do so.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#define kernelpanic(MSG) \
|
||||
do { \
|
||||
DBG << "PANIC: '" << (MSG) << "' in " << __func__ << " @ " << __FILE__ \
|
||||
<< ":" << __LINE__ << ") - CPU stopped." << endl; \
|
||||
<< ":" << dec << __LINE__ << ") - CPU stopped." << endl; \
|
||||
Core::die(); \
|
||||
} while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user