stos: init: Initialize splash if bootcons=false

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-23 03:08:39 +00:00
parent 06e9d99925
commit 70a46ab513
2 changed files with 23 additions and 8 deletions
+17 -8
View File
@@ -8,6 +8,7 @@
#include <ex/trace.h>
#include <ex/pbi.h>
#include <ex/cmdline.h>
#include <ke/stos.h>
#include <ke/bpal.h>
#include <hal/serial.h>
@@ -48,18 +49,26 @@ KiKernelEntry(VOID)
/* Initialize boot video */
BootVidInit();
/* Init bootcons */
BootVidInitCons(NULL);
/* Initialize physical memory */
MmInitPmm();
/* Initialize virtual memory */
MmInitVmm();
/* Initialize the command line parser */
ExCmdLineInit();
/* Phase 1 initialization the bootstrap core */
HalKpcrP1Init(&BootstrapCore);
/* Initialize the pre-boot image manager */
ExPbiInit();
/*
* If the console is not enabled then we should show a
* splash rather thank a black screen.
*/
if (!BootVidConsEn()) {
BootVidSplash();
}
/* Initialize physical memory */
MmInitPmm();
/* Initialize virtual memory */
MmInitVmm();
}