From f8bb2b6c7541260a24d474436cf7392313fd8938 Mon Sep 17 00:00:00 2001 From: Prachi Gupta Date: Thu, 17 Jul 2014 08:43:59 -0500 Subject: Added a new interface platReLogGardError CQ: SW266697 CMVC-Coreq: 930117 Backport: release-fips811 Change-Id: I03d8ef3ff976bee81b8cff5e8a998ac9daa08115 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12278 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton Reviewed-by: A. Patrick Williams III --- src/include/usr/hwas/common/deconfigGard.H | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H index e32170e20..f76202cb0 100644 --- a/src/include/usr/hwas/common/deconfigGard.H +++ b/src/include/usr/hwas/common/deconfigGard.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -164,7 +166,7 @@ public: typedef std::vector GardRecords_t; typedef std::vector::iterator GardRecordsItr_t; typedef std::vector::const_iterator GardRecordsCItr_t; - + typedef struct GardRecord GardRecord; /** * @struct DeconfigureRecord * @@ -212,7 +214,18 @@ public: */ errlHndl_t deconfigureTargetsFromGardRecordsForIpl( const TARGETING::PredicateBase *i_pPredicate = NULL); - + /** + * @brief Re-log the PEL which caused the input Gard event + * + * @param i_gardRecord Reference to the Gard Record which will be + * re-logged + * + * Called by HWAS common as part of the deconfigure targets from Gard + * Records for IPL. Caller must pass distinct Gard PEL. + * + * @return errlHndl_t. Error log Handle + * */ + errlHndl_t platReLogGardError(GardRecord &i_gardRecord); /** * @brief Processes the Field Core Override attribute * @@ -356,6 +369,10 @@ public: GardRecords_t & o_records); + + + + protected: /** -- cgit v1.2.1