summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2013-01-16 15:19:35 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-02-04 13:50:22 -0600
commit863c93d1fbd3da8ad18f161e9913567432abc7a9 (patch)
tree501092fdbff718bb01d0b0dd19c560325ab2c44f /src/include
parent11d14529a299e97b526afcd1ff83ef4de7cedaf8 (diff)
downloadtalos-hostboot-863c93d1fbd3da8ad18f161e9913567432abc7a9.tar.gz
talos-hostboot-863c93d1fbd3da8ad18f161e9913567432abc7a9.zip
only processes GARD records for certain targets
MPIPL needs capability to do initial collectGard() function on a subset of targets (ie, EX only ). Add new optional TARGETING::Predicate parameter and only call deconfigure for GARD records that match. Change-Id: Ib16d8d9431a797df0dbe625adeb5cffc7c073a7d RTC: 59089 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2947 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.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.H11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H
index 01493ecb9..f1507980f 100644
--- a/src/include/usr/hwas/common/deconfigGard.H
+++ b/src/include/usr/hwas/common/deconfigGard.H
@@ -45,12 +45,13 @@ namespace HWAS
*
* It will call into hwas platform-specific functions.
*
- * @param none
+ * @param i_pPredicate restrict processing - only look at GARD records
+ * for targets that match the predicate (optional)
*
* @return errlHndl_t valid errlHndl_t handle if there was an error
* NULL if no errors;
*/
-errlHndl_t collectGard();
+errlHndl_t collectGard(const TARGETING::PredicateBase *i_pPredicate = NULL);
/**
* @brief Returns a reference to the DeconfigGard singleton.
@@ -153,6 +154,9 @@ public:
/**
* @brief Deconfigures Targets that have GARD Records in preparation to IPL.
*
+ * @param i_pPredicate restrict processing - only look at GARD records
+ * for targets that match the predicate (optional)
+ *
* Called by HWAS as part of initial IPL steps.
*
* If deconfiguring all such Targets will result in a configuration that is
@@ -161,7 +165,8 @@ public:
*
* @return errlHndl_t. Error log handle.
*/
- errlHndl_t deconfigureTargetsFromGardRecordsForIpl();
+ errlHndl_t deconfigureTargetsFromGardRecordsForIpl(
+ const TARGETING::PredicateBase *i_pPredicate = NULL);
/**
* @brief Deconfigures a Target.
OpenPOWER on IntegriCloud