summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/fapi/fapiErrorInfo.H
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2013-06-25 17:07:46 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-07-02 14:57:29 -0500
commit4c3292e066ded88bb475db3339ae0b98c976768e (patch)
treea8e06fc1921a73d318c48ebbc5c98bac2c45e94d /src/include/usr/hwpf/fapi/fapiErrorInfo.H
parentfdd698d541e219dbbb57d4d248dd15ef08be564a (diff)
downloadtalos-hostboot-4c3292e066ded88bb475db3339ae0b98c976768e.tar.gz
talos-hostboot-4c3292e066ded88bb475db3339ae0b98c976768e.zip
HWPF: Support Children callout/deconfigure/GARD in FAPI Error XML
Change-Id: I72584c095e8c15a56e84cca67260935ac875b7fb RTC: 69794 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5187 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf/fapi/fapiErrorInfo.H')
-rw-r--r--src/include/usr/hwpf/fapi/fapiErrorInfo.H51
1 files changed, 50 insertions, 1 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiErrorInfo.H b/src/include/usr/hwpf/fapi/fapiErrorInfo.H
index e3570a92d..336552957 100644
--- a/src/include/usr/hwpf/fapi/fapiErrorInfo.H
+++ b/src/include/usr/hwpf/fapi/fapiErrorInfo.H
@@ -40,6 +40,7 @@
* mjjones 09/19/2012 Replace FFDC type with ID
* mjjones 03/22/2013 Support Procedure Callouts
* mjjones 05/20/2013 Support Bus Callouts
+ * mjjones 06/24/2013 Support Children CDGs
*/
#ifndef FAPIERRORINFO_H_
@@ -209,7 +210,7 @@ struct ErrorInfoCDG
/**
* @brief Constructor.
*
- * @param[in] i_target Reference to the target to callout/deconfigure/GARD
+ * @param[in] i_target Reference to the target to c/d/g
* @param[in] i_callout True if Target should be called out
* @param[in] i_deconfigure True if Target should be deconfigured
* @param[in] i_gard True if Target should be GARDed
@@ -236,6 +237,47 @@ struct ErrorInfoCDG
};
/**
+ * @struct ErrorInfoChildrenCDG
+ *
+ * This struct contains children targets to callout/deconfigure/GARD
+ */
+struct ErrorInfoChildrenCDG
+{
+ /**
+ * @brief Constructor.
+ *
+ * @param[in] i_parentChip Reference to the parent chip
+ * @oaram[in] i_childType Child target types to c/d/g
+ * @param[in] i_callout True if Target should be called out
+ * @param[in] i_deconfigure True if Target should be deconfigured
+ * @param[in] i_gard True if Target should be GARDed
+ * @param[in] i_priority The priority of any callout
+ */
+ ErrorInfoChildrenCDG(const Target & i_parentChip,
+ const TargetType i_childType,
+ const bool i_callout,
+ const bool i_deconfigure,
+ const bool i_gard,
+ const CalloutPriorities::CalloutPriority i_priority);
+
+ // The parent chip
+ Target iv_parentChip;
+
+ // The child target types to c/d/g
+ TargetType iv_childType;
+
+ // Callout Information
+ bool iv_callout;
+ CalloutPriorities::CalloutPriority iv_calloutPriority;
+
+ // Deconfigure Information
+ bool iv_deconfigure;
+
+ // GARD Information
+ bool iv_gard;
+};
+
+/**
* @struct ErrorInfo
*
* This struct defines the error information associated with a fapi::ReturnCode
@@ -271,6 +313,13 @@ struct ErrorInfo
std::vector<ErrorInfoCDG *> iv_CDGs;
typedef std::vector<ErrorInfoCDG *>::iterator ErrorInfoCDGItr_t;
typedef std::vector<ErrorInfoCDG *>::const_iterator ErrorInfoCDGCItr_t;
+
+ // Vector of children targets to callout/deconfigure/GARD
+ std::vector<ErrorInfoChildrenCDG *> iv_childrenCDGs;
+ typedef std::vector<ErrorInfoChildrenCDG *>::iterator
+ ErrorInfoChildrenCDGItr_t;
+ typedef std::vector<ErrorInfoChildrenCDG *>::const_iterator
+ ErrorInfoChildrenCDGCItr_t;
};
}
OpenPOWER on IntegriCloud