summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi/fapiErrorInfo.C
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2011-08-24 16:55:23 -0500
committerMIKE J. JONES <mjjones@us.ibm.com>2011-08-26 15:23:46 -0500
commit868fd75d64f91d2afbb31d442451857d02a830ce (patch)
tree1d8fd0f6fabfc748963a491a92101f03cfe25864 /src/usr/hwpf/fapi/fapiErrorInfo.C
parentbf46e7954689c41cccc897b8b00bcc5db5245374 (diff)
downloadtalos-hostboot-868fd75d64f91d2afbb31d442451857d02a830ce.tar.gz
talos-hostboot-868fd75d64f91d2afbb31d442451857d02a830ce.zip
HWPF: Add support for gard to Error Information
Change-Id: I814df4879d3bf9b547d15c5ae9a8a3683bfbf9f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/279 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/fapi/fapiErrorInfo.C')
-rw-r--r--src/usr/hwpf/fapi/fapiErrorInfo.C14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/usr/hwpf/fapi/fapiErrorInfo.C b/src/usr/hwpf/fapi/fapiErrorInfo.C
index 0d3a50b27..42fb7ec8f 100644
--- a/src/usr/hwpf/fapi/fapiErrorInfo.C
+++ b/src/usr/hwpf/fapi/fapiErrorInfo.C
@@ -31,6 +31,7 @@
* Flag Defect/Feature User Date Description
* ------ -------------- ---------- ----------- ----------------------------
* mjjones 08/05/2011 Created
+ * mjjones 08/24/2011 Added ErrorInfoGard.
*/
#include <fapiErrorInfo.H>
@@ -53,6 +54,17 @@ ErrorInfoCallout::ErrorInfoCallout(const TargetType i_targetType,
}
//******************************************************************************
+// ErrorInfoGard Constructor
+//******************************************************************************
+ErrorInfoGard::ErrorInfoGard(const TargetType i_targetType,
+ const uint32_t i_targetPos)
+: iv_targetType(i_targetType),
+ iv_targetPos(i_targetPos)
+{
+
+}
+
+//******************************************************************************
// ErrorInfoFfdc Constructor
//******************************************************************************
ErrorInfoFfdc::ErrorInfoFfdc(const TargetType i_targetType,
@@ -81,6 +93,7 @@ ErrorInfoRecord::ErrorInfoRecord()
ErrorInfoRecord::ErrorInfoRecord(const ErrorInfoRecord & i_right)
: iv_rc(i_right.iv_rc),
iv_callouts(i_right.iv_callouts),
+ iv_gards(i_right.iv_gards),
iv_ffdcs(i_right.iv_ffdcs),
iv_pDescription(NULL)
{
@@ -110,6 +123,7 @@ ErrorInfoRecord & ErrorInfoRecord::operator=(const ErrorInfoRecord & i_right)
{
iv_rc = i_right.iv_rc;
iv_callouts = i_right.iv_callouts;
+ iv_gards = i_right.iv_gards;
iv_ffdcs = i_right.iv_ffdcs;
// Perform deep copy of the description string
OpenPOWER on IntegriCloud