OvmfPkg/PlatformPei: PeiMemory: stop using mPlatformInfoHob
Stop using the mPlatformInfoHob global variable in PublishPeiMemory() and GetPeiMemoryCap() 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>
This commit is contained in:
committed by
mergify[bot]
parent
00743d144b
commit
27874a382c
@@ -361,7 +361,7 @@ InitializePlatform (
|
||||
Q35SmramAtDefaultSmbaseInitialization (&mPlatformInfoHob);
|
||||
}
|
||||
|
||||
PublishPeiMemory ();
|
||||
PublishPeiMemory (&mPlatformInfoHob);
|
||||
|
||||
PlatformQemuUc32BaseInitialization (&mPlatformInfoHob);
|
||||
|
||||
|
Reference in New Issue
Block a user