diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 19:15:43 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 19:15:43 +0100 |
commit | 1ca147f9e08202dfbc78692e204adac280f8238b (patch) | |
tree | 70cf40c14aae874bae814a9dcddbfdf5aba52079 /src/kernel/core/sys.c | |
parent | 74ea640f40285220dfa93492a143a35426b867d1 (diff) | |
download | kogata-1ca147f9e08202dfbc78692e204adac280f8238b.tar.gz kogata-1ca147f9e08202dfbc78692e204adac280f8238b.zip |
Rearrange testing architecture : just type 'make run_tests'
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"); } |