MdeModulePkg DxeCore/PiSmmCore: Add UEFI memory and SMRAM profile support.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16335 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -268,6 +268,8 @@ DxeMain (
|
||||
//
|
||||
CoreInitializeMemoryServices (&HobStart, &MemoryBaseAddress, &MemoryLength);
|
||||
|
||||
MemoryProfileInit (HobStart);
|
||||
|
||||
//
|
||||
// Allocate the EFI System Table and EFI Runtime Service Table from EfiRuntimeServicesData
|
||||
// Use the templates to initialize the contents of the EFI System Table and EFI Runtime Services Table
|
||||
@@ -382,6 +384,8 @@ DxeMain (
|
||||
Status = CoreInitializeEventServices ();
|
||||
ASSERT_EFI_ERROR (Status);
|
||||
|
||||
MemoryProfileInstallProtocol ();
|
||||
|
||||
//
|
||||
// Get persisted vector hand-off info from GUIDeed HOB again due to HobStart may be updated,
|
||||
// and install configuration table
|
||||
|
Reference in New Issue
Block a user