1 2 3 4 5 6 7 8 9 10
#include <kernel/console.H> extern "C" void __assert(bool expr, const char *exprStr, const char *file, int line) { // TODO printk("Assert in %s (%d): %s\n", file, line, exprStr); while (true); }