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/libc/stdio/print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kernel/libc') diff --git a/kernel/libc/stdio/print.c b/kernel/libc/stdio/print.c index eedf026..3df6b5f 100644 --- a/kernel/libc/stdio/print.c +++ b/kernel/libc/stdio/print.c @@ -1,17 +1,17 @@ #include -#include +#include #include #include #define TAB_SIZE 8 inline void putc(const char c) { - write_serial(c); + log_char(c); } void put_string(const char *s, int l) { for (; l > 0; l--, s++) { - write_serial(*s); + log_char(*s); } } -- cgit v1.2.3