OvmfPkg/PlatformPei: remove mFeatureControlValue
Use PlatformInfoHob->FeatureControlValue instead. OnMpServicesAvailable() will find PlatformInfoHob using GetFirstGuidHob() and pass a pointer to the WriteFeatureControl callback. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Tom Lendacky <thomas.lendacky@amd.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
committed by
mergify[bot]
parent
862614e254
commit
f6a196c7eb
@@ -396,7 +396,7 @@ InitializePlatform (
|
||||
}
|
||||
|
||||
IntelTdxInitialize ();
|
||||
InstallFeatureControlCallback ();
|
||||
InstallFeatureControlCallback (PlatformInfoHob);
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user