stos: Add BPAL groundwork

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 02:08:45 +00:00
parent e42ea2e6a6
commit 4b1c00ba43
4 changed files with 78 additions and 2 deletions
+9 -2
View File
@@ -8,17 +8,21 @@
#include <ex/trace.h>
#include <ke/stos.h>
#include <ke/bpal.h>
#include <hal/serial.h>
#include <stdef.h>
#define DTRACE(Fmt, ...) \
TRACE("[ INIT ]: " Fmt, ##__VA_ARGS__)
/*
* Display a boot banner
*/
static VOID
BootBanner(VOID)
{
TRACE("SystemPaw3 ~ %s\n", ST_VERSION);
TRACE("Booting SystemPaw3 !! <3\n");
TRACE("-- SystemPaw3 ~ %s --\n", ST_VERSION);
DTRACE("booting SystemPaw3 !! <3\n");
}
VOID
@@ -29,4 +33,7 @@ KiKernelEntry(VOID)
/* Write the boot banner */
BootBanner();
/* Initialize BPAL */
KeBpalInit();
}