From 44f9642bfc9ce9f740d508670befb569e06621a2 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Mon, 19 Oct 2026 11:06:32 -0400 Subject: add debug console. start work on userland pagedir manipulation tools --- panic/panic.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'panic/panic.c') diff --git a/panic/panic.c b/panic/panic.c index 5bde05b..3b00f42 100644 --- a/panic/panic.c +++ b/panic/panic.c @@ -1,4 +1,5 @@ #include "panic.h" +#include "debug/console.h" #include "lib/printf.h" int _kernel_panic_unlock = 0; @@ -14,7 +15,11 @@ __panic_reason(const char *fmt, va_list ap) void __panic_end(void) { +#ifdef DEBUG_CONSOLE + debug_console_start(); +#else hcf(); +#endif } void -- cgit v1.2.3