stos/amd64: cpu: Add LAPIC driver + MCB in KPCR

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-13 22:25:23 -04:00
parent 533483a367
commit 4165241b6f
6 changed files with 490 additions and 3 deletions
+3
View File
@@ -11,6 +11,7 @@
#include <ptdef.h>
#include <ex/pool.h>
#include <machine/mcb.h>
/*
* The kernel processor control region contains MI
@@ -18,10 +19,12 @@
*
* @Id: Logical processor ID assigned by us
* @PoolRegion: Allocator pool region
* @Mcb: Machine core block
*/
typedef struct {
USHORT Id;
POOL_REGION PoolRegion;
MCB Mcb;
} KPCR;
/*