SecurityPkg: TCG Add more Event type
authorZhang, Chao B <chao.b.zhang@intel.com>
Sat, 17 Nov 2018 15:40:55 +0000 (23:40 +0800)
committerZhang, Chao B <chao.b.zhang@intel.com>
Tue, 20 Nov 2018 01:26:14 +0000 (09:26 +0800)
Add more event log type defined in TCG PTP spec 00.51
https://trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific_Platform_Profile_for_TPM_2p0_Systems_v51.pdf

Cc: Yao Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhang, Chao B <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
MdePkg/Include/IndustryStandard/UefiTcgPlatform.h

index 5ecb4ac..2d223f4 100644 (file)
 //\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