summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/include/error_info_defs.H
diff options
context:
space:
mode:
authorSumit Kumar <sumit_kumar@in.ibm.com>2019-05-30 12:34:23 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-16 09:36:51 -0500
commitf1074af217829f4a678032f44e5bc29c26298a6a (patch)
tree0683958a5b17cc7f215346655715a09664b3f4ba /src/import/hwpf/fapi2/include/error_info_defs.H
parent7b8bfcc23ac6ce0f228bd5db5d3eaf4f173e42e4 (diff)
downloadtalos-hostboot-f1074af217829f4a678032f44e5bc29c26298a6a.tar.gz
talos-hostboot-f1074af217829f4a678032f44e5bc29c26298a6a.zip
Fapi_Infra:Add new member to structure ErrorInfoCDG
Enabling addition of new member - gardType to the structure to pass on the type of gard when target gets garded. Change-Id: I4c14f8bab585bfbee71b43ee4353b9b243bf7469 CQ: SW462950 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78076 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: Manish K. Chowdhary <manichow@in.ibm.com> Reviewed-by: Sumit Kumar <sumit_kumar@in.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/78093 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/include/error_info_defs.H')
-rw-r--r--src/import/hwpf/fapi2/include/error_info_defs.H23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/import/hwpf/fapi2/include/error_info_defs.H b/src/import/hwpf/fapi2/include/error_info_defs.H
index 3f8fc9de6..bed1add8e 100644
--- a/src/import/hwpf/fapi2/include/error_info_defs.H
+++ b/src/import/hwpf/fapi2/include/error_info_defs.H
@@ -278,6 +278,29 @@ enum CollectTrace
};
}
+///
+/// @enum gardType
+///
+/// This enumeration defines the possible gard types
+/// NOTE:This gardType is same as the gard types defined in HWAS
+/// so they should always be kept in sync.
+///
+namespace GardTypes
+{
+enum GardType
+{
+ GARD_NULL = 0x00,
+ GARD_User_Manual = 0xD2, //Manual Guard.
+ GARD_Unrecoverable = 0xE2, //TODO:RTC-76814
+ GARD_Fatal = 0xE3, //IPL Failures, and others.
+ GARD_Predictive = 0xE6, //Policy flag to disable.
+ GARD_Power = 0xE9, //Needed since EID is NOT passed in.
+ GARD_PHYP = 0xEA, //Needed since EID is NOT passed in.
+ GARD_Reconfig = 0xEB, //Force deconfig on reconfig loop
+ GARD_Void = 0xFF,
+};
+}
+
// @brief convert the processor relative sbe target instance into a fapi pos
//
// @param[in] i_targType - type of target from SBE FFDC buffer
OpenPOWER on IntegriCloud