From 4e817cecfa7328af34fb96db7f052352737cd07e Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 16 Oct 2024 20:41:17 +0200 Subject: kernel: Add RSOD(red screen of death) This is not useful since 99% of the time I will have access to the serial output. But it does look cool. --- kernel/log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/log.h') diff --git a/kernel/log.h b/kernel/log.h index fb1ce34..3955acf 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -6,5 +6,7 @@ #define LOG_ERROR 1 #define LOG_SUCCESS 0 +void log_char(const char c); void klog(int code, char *fmt, ...); void dump_backtrace(u32 max_frames); +void log_enable_screen(void); -- cgit v1.2.3