41 Status = VariablePpi->GetVariable (
43 TCG2_PHYSICAL_PRESENCE_FLAGS_VARIABLE,
44 &gEfiTcg2PhysicalPresenceGuid,
49 if (EFI_ERROR (Status)) {
50 PpiFlags.PPFlags =
PcdGet32 (PcdTcg2PhysicalPresenceFlags);
53 return PpiFlags.PPFlags;
EFI_STATUS EFIAPI PeiServicesLocatePpi(IN CONST EFI_GUID *Guid, IN UINTN Instance, IN OUT EFI_PEI_PPI_DESCRIPTOR **PpiDescriptor, IN OUT VOID **Ppi)
#define ASSERT_EFI_ERROR(StatusParameter)
#define PcdGet32(TokenName)
UINT32 EFIAPI Tcg2PhysicalPresenceLibGetManagementFlags(VOID)