Skip to content

Commit

Permalink
Moves set bad bitmap into generic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sglancy6 authored and Raja Das committed Jul 26, 2019
1 parent d35148f commit 337abf1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/import/generic/memory/lib/utils/mss_generic_check.H
Expand Up @@ -45,6 +45,18 @@ namespace mss
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
Expand Down
Expand Up @@ -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
};

///
Expand Down

0 comments on commit 337abf1

Please sign in to comment.