diff options
Diffstat (limited to 'src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_memdiags.H')
-rw-r--r-- | src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_memdiags.H | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_memdiags.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_memdiags.H index 8feb8123c..a53b7c312 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_memdiags.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/mcbist/exp_memdiags.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2019 */ +/* Contributors Listed Below - COPYRIGHT 2019,2020 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -45,4 +45,35 @@ // This file is still necessary to put traits and generic code together +namespace mss +{ +namespace exp +{ +namespace memdiags +{ + +/// +/// @brief Process the result from the mcbist sf_read subtest after memdiags +/// +/// @param[in] i_target OCMB target for traces +/// @param[in] l_fail_behavior_attr +/// @param[in, out] i_rc ReturnCode from sf_read +/// @return fapi2::ReturnCode +/// +fapi2::ReturnCode process_subtest_result(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target, + const uint8_t l_fail_behavior_attr, + fapi2::ReturnCode& io_rc); + +/// +/// @brief Perform a read only mcbist subtest at the end of memdiags +/// +/// @param[in] i_target OCMB Chip +/// @return fapi2::ReturnCode FAPI2_RC_SUCCESS iff success, else error +/// +fapi2::ReturnCode perform_read_only_subtest(const fapi2::Target<fapi2::TARGET_TYPE_OCMB_CHIP>& i_target); + +} // memdiags +} // exp +} // mss + #endif |