stos/amd64: Impl phase 1 processor init

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 19:15:58 +00:00
parent 2127bd8216
commit e3954277f8
4 changed files with 99 additions and 0 deletions
+7
View File
@@ -10,6 +10,7 @@
#include <ke/stos.h>
#include <ke/bpal.h>
#include <hal/serial.h>
#include <hal/kpcr.h>
#include <drivers/bootvid/fbio.h>
#include <mm/pmm.h>
#include <stdef.h>
@@ -17,6 +18,9 @@
#define DTRACE(Fmt, ...) \
TRACE("[ INIT ]: " Fmt, ##__VA_ARGS__)
/* Globals */
static KPCR BootstrapCore;
/*
* Display a boot banner
*/
@@ -47,4 +51,7 @@ KiKernelEntry(VOID)
/* Initialize physical memory */
MmInitPmm();
/* Phase 1 initialization the bootstrap core */
HalKpcrP1Init(&BootstrapCore);
}