diff options
author | Andre Marin <aamarin@us.ibm.com> | 2018-08-09 16:04:51 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2018-08-21 10:32:08 -0500 |
commit | 971d57b0cfd81fd1ee68cbf82d08b0db53f17d19 (patch) | |
tree | 5afb461ec6d360897390a06c5d4a10df1b0a70e8 /src/import/generic/memory/lib/utils/mss_generic_check.H | |
parent | 8d1d1f24074936fc90dff0e44f932d3ef8d20f32 (diff) | |
download | talos-hostboot-971d57b0cfd81fd1ee68cbf82d08b0db53f17d19.tar.gz talos-hostboot-971d57b0cfd81fd1ee68cbf82d08b0db53f17d19.zip |
Added I2C fields, EXP_FW_STATUS API
Change-Id: I827ea3219f60ebcf9951db1ab0feb3421858767f
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63578
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64671
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib/utils/mss_generic_check.H')
-rw-r--r-- | src/import/generic/memory/lib/utils/mss_generic_check.H | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/import/generic/memory/lib/utils/mss_generic_check.H b/src/import/generic/memory/lib/utils/mss_generic_check.H index ea18664ec..f10f4d79a 100644 --- a/src/import/generic/memory/lib/utils/mss_generic_check.H +++ b/src/import/generic/memory/lib/utils/mss_generic_check.H @@ -49,6 +49,7 @@ namespace check /// @brief Checks conditional passes and implements traces & exits if it fails /// @tparam T fapi2 target type /// @tparam IT input data type +/// @tparam FFDC error callout code type /// @param[in] i_target fapi2 target /// @param[in] i_conditional conditional that we are testing against /// @param[in] i_byte_index byte index @@ -57,12 +58,12 @@ namespace check /// @param[in] i_err_str error string - defaulted to "" /// @return FAPI2_RC_SUCCESS iff okay /// -template< fapi2::TargetType T, typename IT > +template< fapi2::TargetType T, typename IT , typename FFDC > inline fapi2::ReturnCode invalid_value(const fapi2::Target<T>& i_target, const bool i_conditional, const size_t i_byte_index, const IT i_data, - const generic_ffdc_codes i_ffdc_codes, + const FFDC i_ffdc_codes, const char* i_err_str = "") { FAPI_ASSERT(i_conditional, @@ -78,6 +79,7 @@ inline fapi2::ReturnCode invalid_value(const fapi2::Target<T>& i_target, i_data); return fapi2::FAPI2_RC_SUCCESS; + fapi_try_exit: return fapi2::current_err; |