From e3d766322fb0715c0def3ca6dd850deccbd9fbbc Mon Sep 17 00:00:00 2001 From: Chris Engel Date: Thu, 19 Nov 2015 11:37:23 -0600 Subject: Trustedboot support for PCR Read cherry picked from commit 93cd77a2455e60f01b003f747368e69cfef1b844 RTC: 125287 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/701 Reviewed-by: Timothy R. Block Reviewed-by: Stephen M. Cprek Reviewed-by: Daniel M. Crowell Change-Id: I37103173d417ce1f378ee3ce76646f1028339ee0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22496 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christopher J. Engel --- src/include/usr/secureboot/trustedboot_reasoncodes.H | 1 + src/include/usr/secureboot/trustedbootif.H | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/usr/secureboot') diff --git a/src/include/usr/secureboot/trustedboot_reasoncodes.H b/src/include/usr/secureboot/trustedboot_reasoncodes.H index 6cad6ebd7..9f3ad03c5 100644 --- a/src/include/usr/secureboot/trustedboot_reasoncodes.H +++ b/src/include/usr/secureboot/trustedboot_reasoncodes.H @@ -51,6 +51,7 @@ namespace TRUSTEDBOOT MOD_TPM_UNMARSHALRESPDATA = 0x05, MOD_TPM_VERIFYFUNCTIONAL = 0x06, MOD_TPM_CMD_PCREXTEND = 0x07, + MOD_TPM_CMD_PCRREAD = 0x08, MOD_TPMLOGMGR_INITIALIZE = 0x10, MOD_TPMLOGMGR_ADDEVENT = 0x11, diff --git a/src/include/usr/secureboot/trustedbootif.H b/src/include/usr/secureboot/trustedbootif.H index acd9a867f..49b81832c 100644 --- a/src/include/usr/secureboot/trustedbootif.H +++ b/src/include/usr/secureboot/trustedbootif.H @@ -62,7 +62,8 @@ namespace TRUSTEDBOOT PCR_1 = 1, PCR_4 = 4, PCR_DEBUG = 16, - PCR_MAX = 16, + PLATFORM_PCR = 24, ///< The number of PCR required by the platform spec + IMPLEMENTATION_PCR = 24, ///< The number of PCRs implemented by TPM } TPM_Pcr; -- cgit v1.2.3