diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-06 18:39:12 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-06 18:39:12 +0100 |
commit | ff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95 (patch) | |
tree | e7945b5cae3925ae50082da7b80e9b3caf914fa4 /kernel/l0/sys.c | |
parent | 274765f7daa3cc1094f9f26196fcf2b9a5289ee2 (diff) | |
download | kogata-ff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95.tar.gz kogata-ff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95.zip |
Trying to track an annoying bug.
Diffstat (limited to 'kernel/l0/sys.c')
-rw-r--r-- | kernel/l0/sys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/l0/sys.c b/kernel/l0/sys.c index b388eba..2b77463 100644 --- a/kernel/l0/sys.c +++ b/kernel/l0/sys.c @@ -10,6 +10,7 @@ static void panic_do(const char* type, const char *msg, const char* file, int li dbg_printf("| File: \t%s:%i\n", file, line); dbg_printf("| System halted -_-'\n"); dbg_printf("\\---------------------------------------------------------/"); + BOCHS_BREAKPOINT; asm volatile("hlt"); } |