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

Stop using the mPlatformInfoHob global variable in NoexecDxeInitialization()
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/Platform.c