summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/fapi/fapiUtil.H
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2013-09-13 14:59:14 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-10 12:02:04 -0500
commitae5f2aa9194b6f26893bfb21b1fc115d3cae0dcb (patch)
tree01d6128e1c9f8c8aa3b412160d08af827093a7d2 /src/include/usr/hwpf/fapi/fapiUtil.H
parent95bf47c534737019f956fbcca2c622c98dacc266 (diff)
downloadtalos-hostboot-ae5f2aa9194b6f26893bfb21b1fc115d3cae0dcb.tar.gz
talos-hostboot-ae5f2aa9194b6f26893bfb21b1fc115d3cae0dcb.zip
HWPF Error XML: Allow callout/deconfigure/gard of DIMM(s) related to MBA
Change-Id: Ibd067f73cf381b18eab5e48cf1f72f961450a1f2 RTC:81669 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6208 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf/fapi/fapiUtil.H')
-rw-r--r--src/include/usr/hwpf/fapi/fapiUtil.H10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiUtil.H b/src/include/usr/hwpf/fapi/fapiUtil.H
index 9d149de63..a90871a7e 100644
--- a/src/include/usr/hwpf/fapi/fapiUtil.H
+++ b/src/include/usr/hwpf/fapi/fapiUtil.H
@@ -44,6 +44,8 @@
* and doxygen changes;
* needed by cronus
* mjjones 08/13/2012 Add fapiSpecialWakeup
+ * mjjones 09/24/2013 Update fapiLogError to
+ * accept another parameter
*/
#ifndef FAPIUTIL_H_
@@ -141,13 +143,16 @@ enum fapiErrlSeverity_t
* target are removed and rc value is set to success after
* function ends.)
* @param[in] i_sev Fapi error log severity defaulted to unrecoverable
+ * @param[in] i_unitTestError - flag to log error which does not cause a unit
+ * test to fail.
*
* Example usage: <br>
* fapi::ReturnCode l_rc; <br>
+ * fapi::fapiErrlSeverity_t l_sev = fapi::FAPI_ERRL_SEV_UNRECOVERABLE;<br>
* FAPI_EXEC_HWP(l_rc, function1, i_target); <br>
* if (!l_rc) <br>
* { <br>
- * fapiLogError(l_rc); <br>
+ * fapiLogError(l_rc, l_sev); <br>
* } <br>
*
* FAPI_EXEC_HWP(l_rc, function2, i_target) <br>
@@ -155,7 +160,8 @@ enum fapiErrlSeverity_t
*/
void fapiLogError(fapi::ReturnCode & io_rc,
fapi::fapiErrlSeverity_t i_sev =
- fapi::FAPI_ERRL_SEV_UNRECOVERABLE);
+ fapi::FAPI_ERRL_SEV_UNRECOVERABLE,
+ bool i_unitTestError=false);
/** @brief This function answers the question, is scand tracing turned on?
* The implementation of this function is specific to the platform.
OpenPOWER on IntegriCloud