]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/PlatformPei/Platform.h
OvmfPkg/PlatformPei: AmdSev: stop using mPlatformInfoHob
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 2 Dec 2022 13:09:58 +0000 (14:09 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 14 Dec 2022 17:45:41 +0000 (17:45 +0000)
commit78c373f2a5273af00b23b55d3e8c41583310cfb6
treed33d27c8eb1d98f53edd658dbcb5bb63a3e682c0
parent916825b84f23b691dcce09a57625fb8fcb0cbb48
OvmfPkg/PlatformPei: AmdSev: stop using mPlatformInfoHob

Stop using the mPlatformInfoHob global variable in AmdSevInitialize()
and AmdSevEsInitialize() functions.  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/AmdSev.c
OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei/Platform.h