29 ASSERT (ConfigData !=
NULL);
56 IN VOID *ConfigData OPTIONAL
59 BOOLEAN *X2ApicEnabled;
61 ASSERT (ConfigData !=
NULL);
62 X2ApicEnabled = (BOOLEAN *)ConfigData;
68 return (CpuInfo->CpuIdVersionInfoEcx.Bits.x2APIC == 1);
93 IN VOID *ConfigData OPTIONAL,
97 BOOLEAN *X2ApicEnabled;
104 if (CpuInfo->ProcessorInfo.Location.Thread != 0) {
109 ASSERT (ConfigData !=
NULL);
110 X2ApicEnabled = (BOOLEAN *)ConfigData;
111 if (X2ApicEnabled[ProcessorNumber]) {
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
#define LOCAL_APIC_MODE_X2APIC
x2APIC mode.
UINTN EFIAPI GetApicMode(VOID)
#define MSR_IA32_APIC_BASE
#define CPU_REGISTER_TABLE_WRITE_FIELD(ProcessorNumber, RegisterType, Index, Type, Field, Value)
#define PRE_SMM_CPU_REGISTER_TABLE_WRITE_FIELD(ProcessorNumber, RegisterType, Index, Type, Field, Value)
#define IS_SILVERMONT_PROCESSOR(DisplayFamily, DisplayModel)
RETURN_STATUS EFIAPI X2ApicInitialize(IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL, IN BOOLEAN State)
VOID *EFIAPI X2ApicGetConfigData(IN UINTN NumberOfProcessors)
BOOLEAN EFIAPI X2ApicSupport(IN UINTN ProcessorNumber, IN REGISTER_CPU_FEATURE_INFORMATION *CpuInfo, IN VOID *ConfigData OPTIONAL)