summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2014-05-12 20:18:13 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-05-16 09:26:41 -0500
commit328291dc007c0c504c05d668d0a9806e33297d17 (patch)
tree2a836af9799b9eafce6f475ccb57161b4eb11488 /src/usr
parente78628bce4b5c9caf67173a8fc399f62d51ff70e (diff)
downloadtalos-hostboot-328291dc007c0c504c05d668d0a9806e33297d17.tar.gz
talos-hostboot-328291dc007c0c504c05d668d0a9806e33297d17.zip
PRD: set DeconfigEnums based on reconfig loop
Change-Id: I9a18601d43fc6fbbda649772ef12eb50c35d8702 CQ: SW261145 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11080 Tested-by: Jenkins Server Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Bilicon Patil <bilpatil@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11119 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11124
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C1
-rw-r--r--src/usr/diag/prdf/prdfErrlUtil.H6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C b/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C
index 1a0aa30ff..97435717d 100644
--- a/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C
+++ b/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C
@@ -228,6 +228,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
GardAction::ErrorType prdGardErrType;
HWAS::GARD_ErrorType gardErrType = HWAS::GARD_NULL;
HWAS::DeconfigEnum deconfigState = HWAS::NO_DECONFIG;
+ PRDF_RECONFIG_LOOP(deconfigState);
bool ReturnELog = false;
bool ForceTerminate = false;
diff --git a/src/usr/diag/prdf/prdfErrlUtil.H b/src/usr/diag/prdf/prdfErrlUtil.H
index 4d55c544b..91d25017c 100644
--- a/src/usr/diag/prdf/prdfErrlUtil.H
+++ b/src/usr/diag/prdf/prdfErrlUtil.H
@@ -206,6 +206,12 @@
o_abort = false;
/**
+ * @brief set deconfigEnum based on reconfig loop
+ */
+#define PRDF_RECONFIG_LOOP(o_deconfigEnum) \
+ o_deconfigEnum = HWAS::DELAYED_DECONFIG;
+
+/**
* @brief Interface to request a Hardware Unit dump collection
*/
// FIXME:RTC: 65609 will address this issue.
OpenPOWER on IntegriCloud