stos/amd64: lapic: Detect if x2APIC mode is present

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-26 20:46:27 +00:00
parent fd30fc5e04
commit 74d68ead72
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -18,11 +18,13 @@
* @ModelId: Processor model ID
* @FamilyId: Processor family ID
* @LapicBase: Local APIC MMIO base
* @HasX2Apic: If set, x2APIC is supported
*/
typedef struct {
UCHAR ModelId;
USHORT FamilyId : 12;
VOID *LapicBase;
UCHAR HasX2Apic : 1;
} MCB;
#endif /* !_MACHINE_MCB_H_ */