TianoCore EDK2 master
Loading...
Searching...
No Matches
TcgEventLogRecordLib.h
Go to the documentation of this file.
1
9#ifndef _TCG_EVENTLOGRECORD_LIB_H_
10#define _TCG_EVENTLOGRECORD_LIB_H_
11
12#include <Uefi.h>
13
14#pragma pack (1)
15
16#define PLATFORM_FIRMWARE_BLOB_DESC "Fv(XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)"
17typedef struct {
18 UINT8 BlobDescriptionSize;
19 UINT8 BlobDescription[sizeof (PLATFORM_FIRMWARE_BLOB_DESC)];
20 EFI_PHYSICAL_ADDRESS BlobBase;
21 UINT64 BlobLength;
23
24#define HANDOFF_TABLE_POINTER_DESC "1234567890ABCDEF"
25typedef struct {
26 UINT8 TableDescriptionSize;
27 UINT8 TableDescription[sizeof (HANDOFF_TABLE_POINTER_DESC)];
28 UINT64 NumberOfTables;
29 EFI_CONFIGURATION_TABLE TableEntry[1];
31
32#pragma pack ()
33
45VOID *
48 IN UINT64 FvLength
49 );
50
65EFIAPI
67 IN UINT32 PcrIndex,
68 IN CHAR8 *Description OPTIONAL,
69 IN EFI_PHYSICAL_ADDRESS FirmwareBlobBase,
70 IN UINT64 FirmwareBlobLength
71 );
72
88EFIAPI
90 IN UINT32 PcrIndex,
91 IN CHAR8 *Description OPTIONAL,
92 IN EFI_GUID *TableGuid,
93 IN VOID *TableAddress,
94 IN UINTN TableLength
95 );
96
97#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
EFI_STATUS EFIAPI MeasureHandoffTable(IN UINT32 PcrIndex, IN CHAR8 *Description OPTIONAL, IN EFI_GUID *TableGuid, IN VOID *TableAddress, IN UINTN TableLength)
VOID * TpmMeasurementGetFvName(IN EFI_PHYSICAL_ADDRESS FvBase, IN UINT64 FvLength)
EFI_STATUS EFIAPI MeasureFirmwareBlob(IN UINT32 PcrIndex, IN CHAR8 *Description OPTIONAL, IN EFI_PHYSICAL_ADDRESS FirmwareBlobBase, IN UINT64 FirmwareBlobLength)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213