41 Status =
gBS->InstallProtocolInterface (
43 &gEdkiiCpuFeaturesInitDoneGuid,
69 Status =
gBS->LocateProtocol (&gEfiSmmConfigurationProtocolGuid,
NULL, (VOID **)&SmmConfiguration);
70 if (EFI_ERROR (Status)) {
108 Status =
gBS->InstallProtocolInterface (
110 &gEdkiiCpuFeaturesInitDoneGuid,
118 if (
PcdGetBool (PcdCpuFeaturesInitAfterSmmRelocation)) {
123 &gEfiSmmConfigurationProtocolGuid,
VOID *EFIAPI GetFirstGuidHob(IN CONST EFI_GUID *Guid)
EFI_STATUS EFIAPI CpuFeaturesDxeInitialize(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
VOID CpuFeaturesInitializeWorker(VOID)
VOID EFIAPI SmmConfigurationEventNotify(IN EFI_EVENT Event, IN VOID *Context)
#define ASSERT_EFI_ERROR(StatusParameter)
#define PcdGetBool(TokenName)
VOID EFIAPI CpuFeaturesDetect(VOID)
VOID EFIAPI CpuFeaturesInitialize(VOID)
EFI_EVENT EFIAPI EfiCreateProtocolNotifyEvent(IN EFI_GUID *ProtocolGuid, IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction, IN VOID *NotifyContext OPTIONAL, OUT VOID **Registration)