From 63a026113332464fc3bcc73369ba35bfe8f62b6f Mon Sep 17 00:00:00 2001 From: Stephen Cprek Date: Tue, 31 Oct 2017 13:01:30 -0500 Subject: Create runtime_utils so both IPL and runtime can use common functions Change-Id: I130f87acdcb841640de7768f1c0abe38e45ce677 RTC: 180063 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49754 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Reviewed-by: Marshall J. Wilks Reviewed-by: Michael Baiocchi Reviewed-by: Daniel M. Crowell --- src/usr/runtime/test/testpreverifiedlidmgr.H | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/usr/runtime/test') diff --git a/src/usr/runtime/test/testpreverifiedlidmgr.H b/src/usr/runtime/test/testpreverifiedlidmgr.H index 4fca35b5f..3863ed27e 100644 --- a/src/usr/runtime/test/testpreverifiedlidmgr.H +++ b/src/usr/runtime/test/testpreverifiedlidmgr.H @@ -32,6 +32,7 @@ #include #include #include +#include extern trace_desc_t* g_trac_runtime; @@ -80,14 +81,14 @@ class PreVerifiedLidMgrTest : public CxxTest::TestSuite l_preVerLidMgr.cv_lidsLoaded.clear(); // Handle all Pre verified PNOR sections - for (const auto secId : RUNTIME::preVerifiedPnorSections) + for (const auto & secIdPair : RUNTIME::preVerifiedPnorSections) { - l_errl = RUNTIME::hbResvLoadSecureSection(secId); + l_errl = RUNTIME::hbResvLoadSecureSection(secIdPair.first); if (l_errl) { - TS_FAIL("testLoadFromPnor> Failed to Load Pnor Section %s", - PNOR::SectionIdToString(secId)); errlCommit(l_errl, RUNTIME_COMP_ID); + TS_FAIL("testLoadFromPnor> Failed to Load Pnor Section %s", + PNOR::SectionIdToString(secIdPair.first)); break; } } -- cgit v1.2.1