summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformPei/Platform.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-12-02 14:10:06 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-14 17:45:41 +0000
commitf6a196c7eb34affff0cfe1864e126953096885e1 (patch)
tree196f78f07410c849005d586081f2a9e84ad82aef /OvmfPkg/PlatformPei/Platform.h
parent862614e2544997c848fab7388733774ae0ea92d8 (diff)
downloadedk2-f6a196c7eb34affff0cfe1864e126953096885e1.tar.gz
edk2-f6a196c7eb34affff0cfe1864e126953096885e1.tar.bz2
edk2-f6a196c7eb34affff0cfe1864e126953096885e1.zip
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>
Diffstat (limited to 'OvmfPkg/PlatformPei/Platform.h')
-rw-r--r--OvmfPkg/PlatformPei/Platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/PlatformPei/Platform.h b/OvmfPkg/PlatformPei/Platform.h
index 86f603ff64..1cf44844a7 100644
--- a/OvmfPkg/PlatformPei/Platform.h
+++ b/OvmfPkg/PlatformPei/Platform.h
@@ -70,7 +70,7 @@ MemTypeInfoInitialization (
VOID
InstallFeatureControlCallback (
- VOID
+ IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob
);
VOID