]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/PlatformPei/Platform.h
OvmfPkg/PlatformPei: remove mPlatformInfoHob
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 2 Dec 2022 13:10:05 +0000 (14:10 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 14 Dec 2022 17:45:41 +0000 (17:45 +0000)
commit862614e2544997c848fab7388733774ae0ea92d8
tree0f7951d8289b0c0e97dd5241e32eca755c243f20
parent4bc2c748516e5c4a8bb86093cd5e1b80a9f35c0f
OvmfPkg/PlatformPei: remove mPlatformInfoHob

Stop using the mPlatformInfoHob global variable.  Let
BuildPlatformInfoHob() allocate and return PlatformInfoHob instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei/Platform.h