diff options
author | Anton Kling <anton@kling.gg> | 2024-10-16 20:41:17 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-10-16 20:41:17 +0200 |
commit | 4e817cecfa7328af34fb96db7f052352737cd07e (patch) | |
tree | e2470a6e3f9683ed83a1e4067dd0ab79a9b67be5 /kernel/log.h | |
parent | 6d4f0e917f638c0ab53d847037938d83497f53ea (diff) |
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.
Diffstat (limited to 'kernel/log.h')
-rw-r--r-- | kernel/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |