stos/amd64: cpu: Add LAPIC driver + MCB in KPCR
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user