summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2015-11-19 11:37:23 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-27 23:15:23 -0400
commite3d766322fb0715c0def3ca6dd850deccbd9fbbc (patch)
treef7fe4125bb2e2a2e2b00b7d745b0c7968a14c47d /src/include/usr/secureboot
parent6c5ba7c0b4d3d1694a2cdf2d6c5365027534ef5a (diff)
downloadblackbird-hostboot-e3d766322fb0715c0def3ca6dd850deccbd9fbbc.tar.gz
blackbird-hostboot-e3d766322fb0715c0def3ca6dd850deccbd9fbbc.zip
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 <block@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> 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 <cjengel@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot')
-rw-r--r--src/include/usr/secureboot/trustedboot_reasoncodes.H1
-rw-r--r--src/include/usr/secureboot/trustedbootif.H3
2 files changed, 3 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud