summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/framework/resolution
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2013-06-11 12:08:57 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-06-14 12:42:27 -0500
commit24a9de8f2a592027f7aeaaceff3bdb9e620a3b6f (patch)
treed9b7f00bcd321ba8b3c0ecad3c5f55edbac0f008 /src/usr/diag/prdf/common/framework/resolution
parent98b53f8d6c8457d1a7eb27ed169bab508150482f (diff)
downloadblackbird-hostboot-24a9de8f2a592027f7aeaaceff3bdb9e620a3b6f.tar.gz
blackbird-hostboot-24a9de8f2a592027f7aeaaceff3bdb9e620a3b6f.zip
PRD: remove unused GARD_Unrecoverable and GARD_Pending
Change-Id: Ia0cffbbdfb30e1731083663f7dc90523926d3243 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4955 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5021
Diffstat (limited to 'src/usr/diag/prdf/common/framework/resolution')
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/resolution/xspprdGardResolution.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/usr/diag/prdf/common/framework/resolution/xspprdGardResolution.h b/src/usr/diag/prdf/common/framework/resolution/xspprdGardResolution.h
index da2db1066..5ef17ec06 100755
--- a/src/usr/diag/prdf/common/framework/resolution/xspprdGardResolution.h
+++ b/src/usr/diag/prdf/common/framework/resolution/xspprdGardResolution.h
@@ -61,18 +61,26 @@ public:
NoGard = 0,
// Recovered error at threshold
Predictive = 1,
- // An uncorrectable error occurred, but the machine continues to run
- Uncorrectable = 2,
// Checkstop, failing resources can be removed to prevent future occurances
- Fatal = 3,
- // Resource has spares that could be used to fix the problem via bist on the next IPL.
- Pending = 4,
+ Fatal = 2,
// This is NoGard unless attn type is CheckStop, then it is Fatal (Func)
- CheckStopOnlyGard = 5, //mp01
+ CheckStopOnlyGard = 3,
//This is to allow Deferred Deconfig, with No Garding
- DeconfigNoGard = 6 //mp02
+ DeconfigNoGard = 4
};
+ inline static const char* ToString(ErrorType i_type)
+ {
+ switch (i_type)
+ {
+ case NoGard: return "NoGard";
+ case Predictive: return "Predictive";
+ case Fatal: return "Fatal";
+ case CheckStopOnlyGard: return "CheckStopOnlyGard";
+ case DeconfigNoGard: return "DeconfigNoGard";
+ default: return "Unknown_ErrorType";
+ }
+ }
/**
* @brief Constructor
OpenPOWER on IntegriCloud