diff options
Diffstat (limited to 'src/kernel/panic.c')
-rw-r--r-- | src/kernel/panic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/panic.c b/src/kernel/panic.c index d17c185..06b37da 100644 --- a/src/kernel/panic.c +++ b/src/kernel/panic.c @@ -4,12 +4,13 @@ #include <addr.h> #include <klog.h> #include <isv.h> -#include <smp_sync.h> +#include <smp.h> static uint8_t panic_lock = 0; void panic(int reason, void *eframe_p, struct registers *regs) { // will fill with debugging info latter lock(&panic_lock); + clear_screen(); #ifdef EASTEREGG_BLOATWARE printf("\nKernel PANIC!!!!!!!\n"); |