diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2012-10-10 10:49:30 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-10-17 15:37:09 -0500 |
commit | d906a5db4a79bcddbbfea88dcdd2c9289ccde623 (patch) | |
tree | 65410caf4db7b6ed8b9293b04345b452fb925796 /src/usr/hwpf/plat | |
parent | 6cbd3cdb742309306e57947b9fa745138648892e (diff) | |
download | talos-hostboot-d906a5db4a79bcddbbfea88dcdd2c9289ccde623.tar.gz talos-hostboot-d906a5db4a79bcddbbfea88dcdd2c9289ccde623.zip |
Fix FSI FFDC Collection
I had some reversed logic that prevents FSI FFDC from getting
collected correctly.
I also made an unrelated change to improve FAPI SRCs that
was bugging me recently.
Change-Id: I86c480cb2234120eda26016621ab8c8269c04d72
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2018
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/plat')
-rw-r--r-- | src/usr/hwpf/plat/fapiPlatHwpInvoker.C | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatHwpInvoker.C b/src/usr/hwpf/plat/fapiPlatHwpInvoker.C index 2680a9035..fed7d3157 100644 --- a/src/usr/hwpf/plat/fapiPlatHwpInvoker.C +++ b/src/usr/hwpf/plat/fapiPlatHwpInvoker.C @@ -141,11 +141,14 @@ errlHndl_t fapiRcToErrl(ReturnCode & io_rc) * @errortype * @moduleid MOD_HWP_RC_TO_ERRL * @reasoncode RC_HWP_GENERATED_ERROR + * @userdata1 RC value from HWP + * @userdata2 <unused> * @devdesc HW Procedure generated error. See User Data. */ l_pError = new ERRORLOG::ErrlEntry(ERRORLOG::ERRL_SEV_UNRECOVERABLE, MOD_HWP_RC_TO_ERRL, - RC_HWP_GENERATED_ERROR); + RC_HWP_GENERATED_ERROR, + TO_UINT64(l_rcValue)); // Add the rcValue as FFDC. This will explain what the error was l_pError->addFFDC(HWPF_COMP_ID, &l_rcValue, sizeof(l_rcValue), 1, |