diff options
author | Chris Phan <cphan@us.ibm.com> | 2013-09-26 12:01:55 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-04 15:34:54 -0500 |
commit | f67e73208f2e6db20b35efaedaf15a4d669c2869 (patch) | |
tree | 3fcf773932d338e799b00df5b01492183368b3c8 /src/usr | |
parent | 37b8e6abde5b9a6bf8a7c7a1302d7d0c54cc0a77 (diff) | |
download | blackbird-hostboot-f67e73208f2e6db20b35efaedaf15a4d669c2869.tar.gz blackbird-hostboot-f67e73208f2e6db20b35efaedaf15a4d669c2869.zip |
PRD: set appropriate deconfig enum for FSP and HB
Change-Id: I7f56fceec9c63f786830ab8fdca4502ee4d4bd24
CQ: SW226317
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6358
Tested-by: Jenkins Server
Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6493
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/diag/prdf/prdfErrlUtil.H | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/prdfErrlUtil.H b/src/usr/diag/prdf/prdfErrlUtil.H index b402545c5..bb237f339 100644 --- a/src/usr/diag/prdf/prdfErrlUtil.H +++ b/src/usr/diag/prdf/prdfErrlUtil.H @@ -193,14 +193,18 @@ /** * @brief Error log interface to add a HW callout to an existing error log. + * @note convert immediate deconfig to delayed deconfig in HB. */ #define PRDF_HW_ADD_CALLOUT(i_target, i_priority, \ i_deconfigState, i_gardState, \ io_errl, i_writeVpd, \ i_gardErrType, i_severity, i_hcdb_update) \ + HWAS::DeconfigEnum deconfigState = \ + (i_deconfigState == HWAS::DECONFIG ? \ + HWAS::DELAYED_DECONFIG : i_deconfigState); \ io_errl->addHwCallout(i_target, \ (const HWAS::callOutPriority)i_priority, \ - (const HWAS::DeconfigEnum)i_deconfigState, \ + deconfigState, \ (const HWAS::GARD_ErrorType)i_gardErrType); \ (void)(i_hcdb_update) |