summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-12-05 16:46:54 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-12-12 17:16:19 -0500
commit82f341573515e1dd39c622a955e08d3ab669b458 (patch)
tree6fce1174aa6d97efd8d84101216f1cc6cc1ee0db /src/include/usr/secureboot
parentfa2acdeb7202692ab0153579b007c70b372a88b4 (diff)
downloadtalos-hostboot-82f341573515e1dd39c622a955e08d3ab669b458.tar.gz
talos-hostboot-82f341573515e1dd39c622a955e08d3ab669b458.zip
Fix incorrect size for entries going into hb resv memory
Sections that do not have Secure Headers and need one injected were not passing in the correct size to preverifiedlidmgr. e.g. RINGOVD section or when SB is compiled out Change-Id: I6e8c775a9a1d3f89473c55af6efc8109fb378c99 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50545 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot')
-rw-r--r--src/include/usr/secureboot/containerheader.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/usr/secureboot/containerheader.H b/src/include/usr/secureboot/containerheader.H
index 1905ac39d..daebbcfb6 100644
--- a/src/include/usr/secureboot/containerheader.H
+++ b/src/include/usr/secureboot/containerheader.H
@@ -293,10 +293,10 @@ class ContainerHeader
* @brief Generate fake header with minimal information and stores in
* instance variable
*
- * @param[in] i_totalSize Total container size
+ * @param[in] i_size Size of content to add header to
* @param[in] i_compId Component ID
*/
- void genFakeHeader(const size_t i_totalSize,
+ void genFakeHeader(const size_t i_size,
const char* const i_compId);
friend class ::SecureRomManagerTest;
OpenPOWER on IntegriCloud