From 16f0dc7e2d6e96461a2471d597e7bd1dd0989141 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 15 Sep 2025 07:26:28 -0400 Subject: kern: os_init: Initialize console earlier on Signed-off-by: Ian Moffett --- src/sys/os/os_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sys/os/os_init.c') diff --git a/src/sys/os/os_init.c b/src/sys/os/os_init.c index b56ab94..616aa84 100644 --- a/src/sys/os/os_init.c +++ b/src/sys/os/os_init.c @@ -14,12 +14,12 @@ __dead void main(void) { cpu_conf(&g_bsp); - printf("booting l5 lunos v0.0.1...\n"); - - vm_init(); cons_init(); syslog_toggle(true); + printf("booting l5 lunos v0.0.1...\n"); + vm_init(); + panic("end of kernel reached\n"); for (;;); } -- cgit v1.2.3