From dd84182c0b25206536632a3895d7239cfe9cf005 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 15 Nov 2025 23:13:22 -0500 Subject: kern: dev: Add initial console driver This commit introduces the boot console driver and integrates it with the tracing system Signed-off-by: Ian Moffett --- sys/kern/kern_init.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_init.c b/sys/kern/kern_init.c index b37fb84..bba8cea 100644 --- a/sys/kern/kern_init.c +++ b/sys/kern/kern_init.c @@ -28,11 +28,15 @@ */ #include +#include +#include +struct console g_bootcons; void kmain(void); void kmain(void) { - (void)0; + console_reset(&g_bootcons); + trace("bootcons: console online\n"); } -- cgit v1.2.3