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>
This commit is contained in:
committed by
mergify[bot]
parent
27874a382c
commit
cc6efda777
@@ -373,7 +373,7 @@ InitializePlatform (
|
||||
}
|
||||
|
||||
PeiFvInitialization (&mPlatformInfoHob);
|
||||
MemTypeInfoInitialization ();
|
||||
MemTypeInfoInitialization (&mPlatformInfoHob);
|
||||
MemMapInitialization (&mPlatformInfoHob);
|
||||
NoexecDxeInitialization ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user