15#define EFI_TREE_PROTOCOL_GUID \
16 {0x607f766c, 0x7455, 0x42be, 0x93, 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f}
25typedef UINT32 TREE_EVENT_LOG_BITMAP;
26typedef UINT32 TREE_EVENT_LOG_FORMAT;
28#define TREE_EVENT_LOG_FORMAT_TCG_1_2 0x00000001
50 UINT32 HashAlgorithmBitmap;
54 TREE_EVENT_LOG_BITMAP SupportedEventLogs;
58 BOOLEAN TrEEPresentFlag;
62 UINT16 MaxCommandSize;
66 UINT16 MaxResponseSize;
71 UINT32 ManufacturerID;
76#define TREE_BOOT_HASH_ALG_SHA1 0x00000001
77#define TREE_BOOT_HASH_ALG_SHA256 0x00000002
78#define TREE_BOOT_HASH_ALG_SHA384 0x00000004
79#define TREE_BOOT_HASH_ALG_SHA512 0x00000008
84#define TREE_EXTEND_ONLY 0x0000000000000001
88#define PE_COFF_IMAGE 0x0000000000000010
90typedef UINT32 TrEE_PCRINDEX;
91typedef UINT32 TrEE_EVENTTYPE;
93#define MAX_PCR_INDEX 23
94#define TREE_EVENT_HEADER_VERSION 1
106 UINT16 HeaderVersion;
110 TrEE_PCRINDEX PCRIndex;
114 TrEE_EVENTTYPE EventType;
175 IN TREE_EVENT_LOG_FORMAT EventLogFormat,
178 OUT BOOLEAN *EventLogTruncated
206 IN UINT64 DataToHashLen,
228 IN UINT32 InputParameterBlockSize,
229 IN UINT8 *InputParameterBlock,
230 IN UINT32 OutputParameterBlockSize,
231 IN UINT8 *OutputParameterBlock
241extern EFI_GUID gEfiTrEEProtocolGuid;
EFI_STATUS(EFIAPI * EFI_TREE_HASH_LOG_EXTEND_EVENT)(IN EFI_TREE_PROTOCOL *This, IN UINT64 Flags, IN EFI_PHYSICAL_ADDRESS DataToHash, IN UINT64 DataToHashLen, IN TrEE_EVENT *Event)
EFI_STATUS(EFIAPI * EFI_TREE_GET_CAPABILITY)(IN EFI_TREE_PROTOCOL *This, IN OUT TREE_BOOT_SERVICE_CAPABILITY *ProtocolCapability)
EFI_STATUS(EFIAPI * EFI_TREE_SUBMIT_COMMAND)(IN EFI_TREE_PROTOCOL *This, IN UINT32 InputParameterBlockSize, IN UINT8 *InputParameterBlock, IN UINT32 OutputParameterBlockSize, IN UINT8 *OutputParameterBlock)
EFI_STATUS(EFIAPI * EFI_TREE_GET_EVENT_LOG)(IN EFI_TREE_PROTOCOL *This, IN TREE_EVENT_LOG_FORMAT EventLogFormat, OUT EFI_PHYSICAL_ADDRESS *EventLogLocation, OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry, OUT BOOLEAN *EventLogTruncated)
UINT64 EFI_PHYSICAL_ADDRESS