stos/amd64: lapic: Detect if x2APIC mode is present
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user