]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/UefiTcgPlatform.h
SecurityPkg: TCG Add more Event type
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / UefiTcgPlatform.h
index adbc956f635c91bd90ad01966dd10143996626f3..2d223f4ea7ce36013d8eb48a66fea67faef3b6d0 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
 //\r
 // Standard event types\r
 //\r
+#define EV_PREBOOT_CERT             ((TCG_EVENTTYPE) 0x00000000)\r
 #define EV_POST_CODE                ((TCG_EVENTTYPE) 0x00000001)\r
 #define EV_NO_ACTION                ((TCG_EVENTTYPE) 0x00000003)\r
 #define EV_SEPARATOR                ((TCG_EVENTTYPE) 0x00000004)\r
+#define EV_ACTION                   ((TCG_EVENTTYPE) 0x00000005)\r
 #define EV_S_CRTM_CONTENTS          ((TCG_EVENTTYPE) 0x00000007)\r
 #define EV_S_CRTM_VERSION           ((TCG_EVENTTYPE) 0x00000008)\r
 #define EV_CPU_MICROCODE            ((TCG_EVENTTYPE) 0x00000009)\r
+#define EV_PLATFORM_CONFIG_FLAGS    ((TCG_EVENTTYPE) 0x0000000A)\r
 #define EV_TABLE_OF_DEVICES         ((TCG_EVENTTYPE) 0x0000000B)\r
+#define EV_COMPACT_HASH             ((TCG_EVENTTYPE) 0x0000000C)\r
+#define EV_NONHOST_CODE             ((TCG_EVENTTYPE) 0x0000000F)\r
+#define EV_NONHOST_CONFIG           ((TCG_EVENTTYPE) 0x00000010)\r
+#define EV_NONHOST_INFO             ((TCG_EVENTTYPE) 0x00000011)\r
+#define EV_OMIT_BOOT_DEVICE_EVENTS  ((TCG_EVENTTYPE) 0x00000012)\r
 \r
 //\r
 // EFI specific event types\r
@@ -43,6 +51,7 @@
 #define EV_EFI_ACTION                       (EV_EFI_EVENT_BASE + 7)\r
 #define EV_EFI_PLATFORM_FIRMWARE_BLOB       (EV_EFI_EVENT_BASE + 8)\r
 #define EV_EFI_HANDOFF_TABLES               (EV_EFI_EVENT_BASE + 9)\r
+#define EV_EFI_HCRTM_EVENT                  (EV_EFI_EVENT_BASE + 0x10)\r
 #define EV_EFI_VARIABLE_AUTHORITY           (EV_EFI_EVENT_BASE + 0xE0)\r
 \r
 #define EFI_CALLING_EFI_APPLICATION         \\r
@@ -190,7 +199,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