diff options
author | Sumit Kumar <sumit_kumar@in.ibm.com> | 2019-05-30 12:34:23 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-08-16 09:36:51 -0500 |
commit | f1074af217829f4a678032f44e5bc29c26298a6a (patch) | |
tree | 0683958a5b17cc7f215346655715a09664b3f4ba /src/import/hwpf/fapi2/src | |
parent | 7b8bfcc23ac6ce0f228bd5db5d3eaf4f173e42e4 (diff) | |
download | talos-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/src')
-rw-r--r-- | src/import/hwpf/fapi2/src/error_info.C | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/import/hwpf/fapi2/src/error_info.C b/src/import/hwpf/fapi2/src/error_info.C index a3ee3c8c6..861393eb5 100644 --- a/src/import/hwpf/fapi2/src/error_info.C +++ b/src/import/hwpf/fapi2/src/error_info.C @@ -118,18 +118,21 @@ ErrorInfoBusCallout::ErrorInfoBusCallout( /// @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 +/// @param[in] i_gardType Type of GARD /// ErrorInfoCDG::ErrorInfoCDG( const Target<TARGET_TYPE_ALL>& i_target, const bool i_callout, const bool i_deconfigure, const bool i_gard, - const CalloutPriorities::CalloutPriority i_priority): + const CalloutPriorities::CalloutPriority i_priority, + const GardTypes::GardType i_gardType): iv_target(i_target), iv_callout(i_callout), iv_calloutPriority(i_priority), iv_deconfigure(i_deconfigure), - iv_gard(i_gard) + iv_gard(i_gard), + iv_gardType(i_gardType) {} /// @@ -336,13 +339,15 @@ void ErrorInfoEntryTargetCDG::addErrorInfo( iv_deconfigure, iv_gard, static_cast<CalloutPriorities::CalloutPriority> - (iv_calloutPriority) + (iv_calloutPriority), + static_cast<GardTypes::GardType>(iv_gardType) ); - FAPI_DBG("addErrorInfo: Adding target 0x%lx cdg (%d:%d:%d), pri: %d", + FAPI_INF("addErrorInfo: Adding target 0x%lx cdg (%d:%d:%d), pri: %d, gtyp: %d", ei->iv_target.get(), ei->iv_callout, ei->iv_deconfigure, - ei->iv_gard, ei->iv_calloutPriority); + ei->iv_gard, ei->iv_calloutPriority, + ei->iv_gardType); // Add the ErrorInfo i_info->iv_CDGs.push_back(std::shared_ptr<ErrorInfoCDG>(ei)); |