10 lines
No EOL
329 B
C++
10 lines
No EOL
329 B
C++
#include <assert.h>
|
|
#include <base.hpp>
|
|
#include <textDISP.hpp>
|
|
extern "C" void __assert(const char *msg, const char *file, int line, int res) {
|
|
if(!res) {
|
|
MTGosHAL::err << "assert(" << msg << ") failed in " << file << " at line " << line << "!\n";
|
|
MTGosHAL::err << "Kernel panic.\n";
|
|
for(;;);
|
|
}
|
|
} |