From e47e6fe7e2a4aa6debe59949ea1e0f7c06aa6b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Kala=C5=A1=20=28Floxen=29?= Date: Sun, 12 Jul 2026 12:14:59 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1n=202s=20delay=20p=C5=99ed=20log?= =?UTF-8?q?inem=20a=202s=20delay=20po=20loginu=20p=C5=99ed=20vykreslen?= =?UTF-8?q?=C3=ADm=20shellu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/main.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/kernel/main.c b/kernel/main.c index 0854c9b..256e49c 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -2899,10 +2899,20 @@ static void shell_loop(void) { void kmain(void) { display_init(); - boot_splash_begin(8); + boot_splash_begin(9); + + boot_step_begin("Serial COM1"); + serial_init(); + if (serial_is_ready()) { + printk("[serial] COM1 initialized\n"); + boot_step_ok("Serial COM1"); + } else { + boot_step_skip("Serial COM1 (not detected)"); + } boot_step_begin("CPU setup"); - boot_step_skip("CPU setup"); + cpu_init(); + boot_step_ok("CPU setup"); boot_step_begin("Memory manager"); memory_init(); @@ -2934,7 +2944,8 @@ void kmain(void) { scheduler_run_once(); boot_step_begin("Interrupts"); - boot_step_skip("Interrupts"); + interrupts_init(); + boot_step_ok("Interrupts"); boot_splash_end(); display_clear(); @@ -2943,7 +2954,9 @@ void kmain(void) { aster_print("Pro zobrazeni vsech prikazu zadej 'help'\n"); for (;;) { + timer_sleep_ms(2000); auth_login_screen(); + timer_sleep_ms(2000); ensure_aliases_file(); display_clear(); if (system_is_installed()) {