]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/UefiTcgPlatform.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / UefiTcgPlatform.h
index 8a3e1704afc1ad2763c281910a6e8b3bad403e9f..5ecb4ac86e7ba687f7ea6d02f5f410f23ec88753 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   TCG EFI Platform Definition in TCG_EFI_Platform_1_20_Final\r
 \r
-  Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -190,7 +190,7 @@ typedef struct {
 \r
 typedef struct tdEFI_GPT_DATA {\r
   EFI_PARTITION_TABLE_HEADER  EfiPartitionHeader;\r
-  UINTN                       NumberOfPartitions; \r
+  UINTN                       NumberOfPartitions;\r
   EFI_PARTITION_ENTRY         Partitions[1];\r
 } EFI_GPT_DATA;\r
 \r
@@ -205,6 +205,17 @@ typedef struct tdTCG_PCR_EVENT2 {
   UINT8               Event[1];\r
 } TCG_PCR_EVENT2;\r
 \r
+//\r
+// TCG PCR Event2 Header\r
+// Follow TCG EFI Protocol Spec 5.2 Crypto Agile Log Entry Format\r
+//\r
+typedef struct tdTCG_PCR_EVENT2_HDR{\r
+  TCG_PCRINDEX        PCRIndex;\r
+  TCG_EVENTTYPE       EventType;\r
+  TPML_DIGEST_VALUES  Digests;\r
+  UINT32              EventSize;\r
+} TCG_PCR_EVENT2_HDR;\r
+\r
 //\r
 // Log Header Entry Data\r
 //\r