diff options
| author | Stephen Glancy <sglancy@us.ibm.com> | 2019-02-18 10:25:11 -0500 |
|---|---|---|
| committer | Raja Das <rajadas2@in.ibm.com> | 2019-07-26 00:54:29 -0500 |
| commit | 337abf1d4eff46906d29c6f5875dcb3df9867da4 (patch) | |
| tree | be66ecbac32cc203bb985253c484d8ba52c7ddb3 /src/import/generic/memory/lib | |
| parent | d35148fad18b28d411a86c9852ca7151e284192c (diff) | |
| download | talos-sbe-337abf1d4eff46906d29c6f5875dcb3df9867da4.tar.gz talos-sbe-337abf1d4eff46906d29c6f5875dcb3df9867da4.zip | |
Moves set bad bitmap into generic
Change-Id: I2be5e8327fd3db7236a2b44177e5dadf48dd6225
Original-Change-Id: I0c9e8beb0e4cd930ebccbf26d1e8149b64fae65d
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72154
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Dev-Ready: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/generic/memory/lib')
| -rw-r--r-- | src/import/generic/memory/lib/utils/mss_generic_check.H | 12 | ||||
| -rw-r--r-- | src/import/generic/memory/lib/utils/shared/mss_generic_consts.H | 2 |
2 files changed, 14 insertions, 0 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 311f28e1..b140faf7 100644 --- a/src/import/generic/memory/lib/utils/mss_generic_check.H +++ b/src/import/generic/memory/lib/utils/mss_generic_check.H @@ -46,6 +46,18 @@ namespace check { /// +/// @brief Checks whether any FIRs have lit up on a target +/// @tparam MC MC type for which to check FIR's +/// @tparam T the fapi2::TargetType which hold the FIR bits +/// @param[in] i_target - the target on which to operate +/// @param[in,out] io_rc - the return code for the function +/// @param[out] o_fir_error - true iff a FIR was hit +/// @return fapi2::ReturnCode FAPI2_RC_SUCCESS iff ok +/// +template< mss::mc_type MC, fapi2::TargetType T > +fapi2::ReturnCode bad_fir_bits( const fapi2::Target<T>& i_target, fapi2::ReturnCode& io_rc, bool& o_fir_error ); + +/// /// @brief Checks conditional passes and implements traces & exits if it fails /// @tparam T fapi2 target type /// @tparam IT input data type diff --git a/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H b/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H index 457b4bf1..433911cf 100644 --- a/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H +++ b/src/import/generic/memory/lib/utils/shared/mss_generic_consts.H @@ -50,6 +50,8 @@ enum common_consts { DEFAULT_POLL_LIMIT = 50, ///< the number of poll attempts in the event we can't calculate another MEMCMP_EQUAL = 0, ///< Equal comparison value for memcmp + BAD_BITS_RANKS = 4, ///< Bad bit attribute's number of ranks + BAD_DQ_BYTE_COUNT = 10, ///< Bad bit attribute's number of byte }; /// |

