From d8aca3ff2501f9a77e22e5afb7a30380aed205af Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Fri, 16 Oct 2026 16:42:22 -0400 Subject: remove explicit framebuffer in kernel. reduce locking in syscalls --- arch/x86_64/debug/debug.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch/x86_64/debug/debug.c (limited to 'arch/x86_64/debug/debug.c') diff --git a/arch/x86_64/debug/debug.c b/arch/x86_64/debug/debug.c new file mode 100644 index 0000000..5b2c918 --- /dev/null +++ b/arch/x86_64/debug/debug.c @@ -0,0 +1,10 @@ +#include "debug/debug.h" +#include "arch/x86_64/hal/serial_com.h" + +void _debug_init_arch(void) +{ + #ifdef DEBUG_SERIAL + _debug_has_output = true; + serial_com_init(); + #endif +} -- cgit v1.2.3