summaryrefslogtreecommitdiffstats
path: root/src/include/usr/targeting
diff options
context:
space:
mode:
authorDhruvaraj S <dhruvaraj@in.ibm.com>2015-02-12 04:23:39 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-03-09 19:13:57 -0500
commit0481b521db49eb5161def9fe10824a07c9b5068b (patch)
tree95f0588b4045a77212e1a855d37d3d48ff1b83fb /src/include/usr/targeting
parent8c22c53bfebf79a9e7548b9e32aad22901af3ca9 (diff)
downloadtalos-hostboot-0481b521db49eb5161def9fe10824a07c9b5068b.tar.gz
talos-hostboot-0481b521db49eb5161def9fe10824a07c9b5068b.zip
62392: HB Common Resource Recovery
HB Common resource recovery will recover any resources which is not garded by a FATAL error and try to use in the system for the current IPL Change-Id: I6ea4114ba19f47f062ec04449c3e0209d85a1faf RTC: 62392 CQ: SW291079 CMVC-Coreq: 948355 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15678 Tested-by: Jenkins Server Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/targeting')
-rw-r--r--src/include/usr/targeting/common/predicates/predicatehwas.H23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/predicates/predicatehwas.H b/src/include/usr/targeting/common/predicates/predicatehwas.H
index d433c3748..523332646 100644
--- a/src/include/usr/targeting/common/predicates/predicatehwas.H
+++ b/src/include/usr/targeting/common/predicates/predicatehwas.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* [+] 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. */
@@ -125,6 +127,15 @@ class PredicateHwas : public PredicateBase
*/
PredicateHwas& dumpFunctional(const bool i_dumpFunctional);
+ /**
+ * @brief Configure predicate to look for the given speculative
+ * deconfig state
+ *
+ * @param[in] i_specdeconfig Desired speculative deconfig state
+ *
+ * @return Reference to the predicate, for chaining
+ */
+ PredicateHwas& specdeconfig(const bool i_specdeconfig);
/**
* @brief Returns whether target matches the desired HWAS state
*
@@ -229,6 +240,16 @@ inline PredicateHwas& PredicateHwas::dumpFunctional(
return *this;
}
+//******************************************************************************
+// PredicateHwas::specdeconfig
+//******************************************************************************
+inline PredicateHwas& PredicateHwas::specdeconfig(
+ const bool i_specdeconfig)
+{
+ iv_desired.attribute.specdeconfig = i_specdeconfig;
+ iv_valid.attribute.specdeconfig = true;
+ return *this;
+}
#undef TARG_CLASS
#undef TARG_NAMESPACE
OpenPOWER on IntegriCloud