]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/PlatformPei/MemTypeInfo.c
OvmfPkg/PlatformPei: MemTypeInfo: stop using mPlatformInfoHob
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 2 Dec 2022 13:10:02 +0000 (14:10 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 14 Dec 2022 17:45:41 +0000 (17:45 +0000)
commitcc6efda7770b8cabea3ae8c6054d47c4a8e229c3
tree63837c26d810dc56489b245b3b29d798aa3e545e
parent27874a382c38a95d3ab613eebd35c152ca9b3897
OvmfPkg/PlatformPei: MemTypeInfo: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in MemTypeInfoInitialization()
function.  Pass a pointer to the 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/MemTypeInfo.c
OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei/Platform.h