aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-07 21:56:41 -0400
committerIan Moffett <ian@osmora.org>2024-07-07 22:32:04 -0400
commit8d1e5ffe355b0e0bbb60fa88d306304a1746bc8c (patch)
treeb4d6c3e527d7a5021a21a9f631f8958d3c98955b /sys/kern/init_main.c
parentabced67cbb8a19369ae1a5aaafd6318f0b2ee069 (diff)
kernel/amd64: Add serial debug logging
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 02e8705..71763b3 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -60,6 +60,9 @@ start_init(void)
int
main(void)
{
+ /* Setup serial driver */
+ serial_init();
+
/* Startup the console */
cons_init();
kprintf("Starting Hyra/%s v%s: %s\n", HYRA_ARCH, HYRA_VERSION,