aboutsummaryrefslogtreecommitdiff
path: root/kernel/l0/sys.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-06 18:39:12 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-06 18:39:12 +0100
commitff27e3d5ca61fb6234b0876dc3368d0e5dfc5a95 (patch)
treee7945b5cae3925ae50082da7b80e9b3caf914fa4 /kernel/l0/sys.c
parent274765f7daa3cc1094f9f26196fcf2b9a5289ee2 (diff)
downloadkogata-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.c1
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");
}