diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-15 23:13:22 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-15 23:13:22 -0500 |
| commit | dd84182c0b25206536632a3895d7239cfe9cf005 (patch) | |
| tree | 864a7c567077e2817c76417ecd9eec03711f62dd /sys/kern | |
| parent | 39aeb9070dfdbe466bdc7162f1116d17d4d3f989 (diff) | |
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 <ian@osmora.org>
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/kern_init.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <sys/types.h> +#include <dev/cons/cons.h> +#include <os/trace.h> +struct console g_bootcons; void kmain(void); void kmain(void) { - (void)0; + console_reset(&g_bootcons); + trace("bootcons: console online\n"); } |
