ptos/amd64+hal: Add interrupt handling + P1 KPCR init

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
2026-07-11 04:46:00 +00:00
parent 0f2d2b9ea5
commit 7cb153f98c
7 changed files with 335 additions and 3 deletions
+7
View File
@@ -11,9 +11,13 @@
#include <ex/trace.h>
#include <mm/pm.h>
#include <hal/serial.h>
#include <hal/kpcr.h>
#include <drivers/bootvid/fbio.h>
#include <string.h>
/* Globals */
static KPCR BootstrapCore;
/*
* Display the copyright for legal reasons
*/
@@ -48,4 +52,7 @@ KiKernelInit(VOID)
/* Initialize physical memory */
MmPmInit();
/* Phase 1 init of bootstrap core */
HalKpcrP1Init(&BootstrapCore);
}