diff options
Diffstat (limited to 'src/kernel/core/sys.c')
-rw-r--r-- | src/kernel/core/sys.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/core/sys.c b/src/kernel/core/sys.c index 2b77463..b1e69ad 100644 --- a/src/kernel/core/sys.c +++ b/src/kernel/core/sys.c @@ -11,6 +11,9 @@ static void panic_do(const char* type, const char *msg, const char* file, int li dbg_printf("| System halted -_-'\n"); dbg_printf("\\---------------------------------------------------------/"); BOCHS_BREAKPOINT; +#ifdef IS_A_TEST + dbg_printf("(TEST-FAIL)\n"); +#endif asm volatile("hlt"); } |