From 82f341573515e1dd39c622a955e08d3ab669b458 Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Tue, 5 Dec 2017 16:46:54 -0600 Subject: 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 Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Reviewed-by: Michael Baiocchi Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/include/usr/secureboot/containerheader.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/usr/secureboot') 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; -- cgit v1.2.3