summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2014-07-17 08:43:59 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-07-31 15:07:33 -0500
commitf8bb2b6c7541260a24d474436cf7392313fd8938 (patch)
tree43846f21264bd2f230bcfd44f1dc8483352587df /src/include
parent0262d5f99f15d5b956de101674e6feb1035a9750 (diff)
downloadtalos-hostboot-f8bb2b6c7541260a24d474436cf7392313fd8938.tar.gz
talos-hostboot-f8bb2b6c7541260a24d474436cf7392313fd8938.zip
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 <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwas/common/deconfigGard.H23
1 files changed, 20 insertions, 3 deletions
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<GardRecord> GardRecords_t;
typedef std::vector<GardRecord>::iterator GardRecordsItr_t;
typedef std::vector<GardRecord>::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:
/**
OpenPOWER on IntegriCloud