diff --git a/zion/debug/debug.h b/zion/debug/debug.h index a767596..567bf79 100644 --- a/zion/debug/debug.h +++ b/zion/debug/debug.h @@ -25,7 +25,7 @@ template void panic(const char* str, Args... args) { dbgln(str, args...); dbgln("PANIC"); - asm volatile("hlt;"); + asm volatile("cli; hlt;"); } #define UNREACHABLE \