From fd029f5afa54473a055a9b938d53da2e556b5a75 Mon Sep 17 00:00:00 2001 From: Jacob Harvey Date: Thu, 13 Jul 2017 15:06:13 -0500 Subject: L3 draminit and mss_lib Change-Id: If5cae63291864da0b87d6a1e82407da9358d62d2 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43121 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Louis Stermole Reviewed-by: STEPHEN GLANCY Reviewed-by: ANDRE A. MARIN Reviewed-by: Daniel M. Crowell Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43278 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins --- .../p9/procedures/hwp/memory/lib/dimm/bcw_load.H | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/dimm/bcw_load.H') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/bcw_load.H b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/bcw_load.H index 6c94019f3..be5f1bfc5 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/dimm/bcw_load.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/dimm/bcw_load.H @@ -28,9 +28,9 @@ /// @brief Code to support bcw_loads /// // *HWP HWP Owner: Andre Marin -// *HWP HWP Backup: Brian Silver +// *HWP HWP Backup: Jacob Harvey // *HWP Team: Memory -// *HWP Level: 2 +// *HWP Level: 3 // *HWP Consumed by: HB:FSP #ifndef _MSS_BCW_LOAD_H_ @@ -96,12 +96,12 @@ struct perform_bcw_load_overload< KIND_LRDIMM_DDR4 > static constexpr bool available = true; }; -/// -/// Define the default case for overloaded calls. enable_if states that -/// if there is a DEFAULT_KIND overload for this TargetType, then this -/// entry point will be defined. Note the general case below is enabled if -/// there is no overload defined for this TargetType -/// +// +// Define the default case for overloaded calls. enable_if states that +// if there is a DEFAULT_KIND overload for this TargetType, then this +// entry point will be defined. Note the general case below is enabled if +// there is no overload defined for this TargetType +// /// /// @brief Perform the bcw_load operations @@ -149,8 +149,9 @@ fapi2::ReturnCode perform_bcw_load( const fapi2::Target -/// @param[in,out] a vector of CCS instructions we should add to +/// @param[in,out] io_inst a vector of CCS instructions we should add to /// @return FAPI2_RC_SUCCESS if and only if ok /// template< kind_t K, bool B = perform_bcw_load_overload::available > @@ -170,7 +171,14 @@ inline fapi2::ReturnCode perform_bcw_load_dispatch( const kind_t& i_kind, return perform_bcw_load(i_target, io_inst); } -// DEFAULT_KIND is 0 so this is the end of the recursion +/// +/// @brief Perform the bcw_load operations +/// @param[in] i_kind the dimm kind struct for the i_target +/// @param[in] i_target, a fapi2::Target +/// @param[in,out] io_inst a vector of CCS instructions we should add to +/// @return FAPI2_RC_SUCCESS if and only if ok +/// @note DEFAULT_KIND is 0 so this is the end of the recursion +/// template<> inline fapi2::ReturnCode perform_bcw_load_dispatch(const kind_t&, const fapi2::Target& i_target, -- cgit v1.2.1