mirror of https://github.com/acidanthera/audk.git
StandaloneMmPkg/Core: Switch to MM HobList after MM HostList is ready
Switch to MM HobList as soon as MM HostList is initialized to avoid StandaloneMmCore still using the HobList which is outside of MMRAM. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Sami Mujawar <sami.mujawar@arm.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
This commit is contained in:
parent
dd775aa4d4
commit
68487b4736
|
@ -703,6 +703,7 @@ StandaloneMmMain (
|
|||
CopyMem (MmHobStart, HobStart, HobSize);
|
||||
Status = MmInstallConfigurationTable (&gMmCoreMmst, &gEfiHobListGuid, MmHobStart, HobSize);
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
gHobList = MmHobStart;
|
||||
|
||||
//
|
||||
// Register notification for EFI_MM_CONFIGURATION_PROTOCOL registration and
|
||||
|
|
Loading…
Reference in New Issue