mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
StandaloneMmPkg/Core: Dump all HOB info in entrypoint
Print HOB information at top of StandaloneMmMain(). 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
e94cbfc845
commit
049e12c03d
@ -512,6 +512,10 @@ StandaloneMmMain (
|
|||||||
|
|
||||||
DEBUG ((DEBUG_INFO, "MmMain - 0x%x\n", HobStart));
|
DEBUG ((DEBUG_INFO, "MmMain - 0x%x\n", HobStart));
|
||||||
|
|
||||||
|
DEBUG_CODE (
|
||||||
|
PrintHobList (HobStart, NULL);
|
||||||
|
);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Determine if the caller has passed a reference to a MM_CORE_PRIVATE_DATA
|
// Determine if the caller has passed a reference to a MM_CORE_PRIVATE_DATA
|
||||||
// structure in the Hoblist. This choice will govern how boot information is
|
// structure in the Hoblist. This choice will govern how boot information is
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include <Library/ReportStatusCodeLib.h>
|
#include <Library/ReportStatusCodeLib.h>
|
||||||
#include <Library/MemoryAllocationLib.h>
|
#include <Library/MemoryAllocationLib.h>
|
||||||
#include <Library/PcdLib.h>
|
#include <Library/PcdLib.h>
|
||||||
|
#include <Library/HobPrintLib.h>
|
||||||
#include <Library/StandaloneMmMemLib.h>
|
#include <Library/StandaloneMmMemLib.h>
|
||||||
#include <Library/HobLib.h>
|
#include <Library/HobLib.h>
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@
|
|||||||
PeCoffLib
|
PeCoffLib
|
||||||
ReportStatusCodeLib
|
ReportStatusCodeLib
|
||||||
StandaloneMmCoreEntryPoint
|
StandaloneMmCoreEntryPoint
|
||||||
|
HobPrintLib
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
|
gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
|
StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
|
||||||
StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
|
StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
|
||||||
VariableMmDependency|StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf
|
VariableMmDependency|StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf
|
||||||
|
HobPrintLib|MdeModulePkg/Library/HobPrintLib/HobPrintLib.inf
|
||||||
|
|
||||||
[LibraryClasses.AARCH64, LibraryClasses.ARM]
|
[LibraryClasses.AARCH64, LibraryClasses.ARM]
|
||||||
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user