87 if (GuidHob !=
NULL) {
88 if (
CompareGuid ((
EFI_GUID *)GET_GUID_HOB_DATA (GuidHob), &gEfiTpmDeviceInstanceTpm20DtpmGuid)) {
92 DEBUG ((DEBUG_ERROR,
"No TPM2 DTPM instance required! - %g\n", (
EFI_GUID *)GET_GUID_HOB_DATA (GuidHob)));
94 DEBUG ((DEBUG_ERROR,
"No gEdkiiTpmInstanceHobGuid!\n"));
VOID *EFIAPI GetFirstGuidHob(IN CONST EFI_GUID *Guid)
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
#define DEBUG(Expression)
BOOLEAN EFIAPI MmIsBufferOutsideMmValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
EFI_STATUS InitializeTcgCommon(VOID)
BOOLEAN IsTpm20Dtpm(VOID)
BOOLEAN Tcg2IsNonPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
EFI_STATUS EFIAPI InitializeTcgStandaloneMm(IN EFI_HANDLE ImageHandle, IN EFI_MM_SYSTEM_TABLE *SystemTable)
VOID Tcg2NotifyMmReady(VOID)
BOOLEAN Tcg2IsPrimaryBufferValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
UINT64 EFI_PHYSICAL_ADDRESS