diff options
author | Zhang, Chao B <chao.b.zhang@intel.com> | 2017-01-22 12:47:51 +0800 |
---|---|---|
committer | Zhang, Chao B <chao.b.zhang@intel.com> | 2017-01-24 10:22:25 +0800 |
commit | 18458db1d491606865cc2482809a99e7f5d4dad9 (patch) | |
tree | 9fd790f667a1434f87caff7c595761d6e0ec0e74 /SecurityPkg/Include/Guid | |
parent | 223a99e524679a7f811755442897bfad7cf49830 (diff) | |
download | edk2-18458db1d491606865cc2482809a99e7f5d4dad9.tar.gz edk2-18458db1d491606865cc2482809a99e7f5d4dad9.tar.bz2 edk2-18458db1d491606865cc2482809a99e7f5d4dad9.zip |
SecurityPkg: Tcg2Dxe: Log Startup Locality Event
Log Startup Locality Event according to TCG PC Client PFP 00.21.
Event should be placed before any extend to PCR[0]
http://www.trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific_Platform_Profile_for_TPM_2p0_Systems_v21.pdf
Cc: Star Zeng <star.zeng@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Diffstat (limited to 'SecurityPkg/Include/Guid')
-rw-r--r-- | SecurityPkg/Include/Guid/TcgEventHob.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/SecurityPkg/Include/Guid/TcgEventHob.h b/SecurityPkg/Include/Guid/TcgEventHob.h index 1082807c36..943a7c601c 100644 --- a/SecurityPkg/Include/Guid/TcgEventHob.h +++ b/SecurityPkg/Include/Guid/TcgEventHob.h @@ -3,7 +3,7 @@ a TPM DXE Driver. A GUIDed HOB is generated for each measurement
made in the PEI Phase.
-Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -44,4 +44,15 @@ extern EFI_GUID gTcgEvent2EntryHobGuid; extern EFI_GUID gTpmErrorHobGuid;
+///
+/// The Global ID of a GUIDed HOB used to record TPM2 Startup Locality.
+/// HOB payload is UINT8 according to Startup Locality Event.
+///
+#define EFI_TPM2_STARTUP_LOCALITY_HOB_GUID \
+ { \
+ 0xef598499, 0xb25e, 0x473a, { 0xbf, 0xaf, 0xe7, 0xe5, 0x7d, 0xce, 0x82, 0xc4 } \
+ }
+
+extern EFI_GUID gTpm2StartupLocalityHobGuid;
+
#endif
|