#define TCG_DIGEST TPM_DIGEST\r
#define TCG_PCRINDEX TPM_PCRINDEX\r
\r
-//\r
-// TCG_PCR_EVENT\r
-//\r
+///\r
+/// TCG_PCR_EVENT\r
+///\r
typedef struct tdTCG_PCR_EVENT {\r
TCG_PCRINDEX PCRIndex; // PCRIndex event extended to\r
TCG_EVENTTYPE EventType; // TCG EFI event type\r
UINT8 Event[1]; // The event data\r
} TCG_PCR_EVENT;\r
\r
-//\r
-// TCG_PCR_EVENT_HDR\r
-//\r
+///\r
+/// TCG_PCR_EVENT_HDR\r
+///\r
typedef struct tdTCG_PCR_EVENT_HDR {\r
TCG_PCRINDEX PCRIndex;\r
TCG_EVENTTYPE EventType;\r
UINT32 EventSize;\r
} TCG_PCR_EVENT_HDR;\r
\r
-//\r
-// EFI_PLATFORM_FIRMWARE_BLOB\r
-//\r
-// BlobLength should be of type UINTN but we use UINT64 here\r
-// because PEI is 32-bit while DXE is 64-bit on x64 platforms\r
-//\r
+///\r
+/// EFI_PLATFORM_FIRMWARE_BLOB\r
+///\r
+/// BlobLength should be of type UINTN but we use UINT64 here\r
+/// because PEI is 32-bit while DXE is 64-bit on x64 platforms\r
+///\r
typedef struct tdEFI_PLATFORM_FIRMWARE_BLOB {\r
EFI_PHYSICAL_ADDRESS BlobBase;\r
UINT64 BlobLength;\r
} EFI_PLATFORM_FIRMWARE_BLOB;\r
\r
-//\r
-// EFI_IMAGE_LOAD_EVENT\r
-//\r
-// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,\r
-// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER\r
-//\r
+///\r
+/// EFI_IMAGE_LOAD_EVENT\r
+///\r
+/// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,\r
+/// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER\r
+///\r
typedef struct tdEFI_IMAGE_LOAD_EVENT {\r
EFI_PHYSICAL_ADDRESS ImageLocationInMemory;\r
UINTN ImageLengthInMemory;\r
EFI_DEVICE_PATH_PROTOCOL DevicePath[1];\r
} EFI_IMAGE_LOAD_EVENT;\r
\r
-//\r
-// EFI_HANDOFF_TABLE_POINTERS\r
-//\r
-// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate\r
-// the measurement of given configuration tables.\r
-//\r
+///\r
+/// EFI_HANDOFF_TABLE_POINTERS\r
+///\r
+/// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate\r
+/// the measurement of given configuration tables.\r
+///\r
typedef struct tdEFI_HANDOFF_TABLE_POINTERS {\r
UINTN NumberOfTables;\r
EFI_CONFIGURATION_TABLE TableEntry[1];\r
} EFI_HANDOFF_TABLE_POINTERS;\r
\r
-//\r
-// EFI_VARIABLE_DATA\r
-//\r
-// This structure serves as the header for measuring variables. The name of the\r
-// variable (in Unicode format) should immediately follow, then the variable\r
-// data.\r
-//\r
+///\r
+/// EFI_VARIABLE_DATA\r
+///\r
+/// This structure serves as the header for measuring variables. The name of the\r
+/// variable (in Unicode format) should immediately follow, then the variable\r
+/// data.\r
+///\r
typedef struct tdEFI_VARIABLE_DATA {\r
EFI_GUID VariableName;\r
UINTN UnicodeNameLength;\r