diff options
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H index b5305ac85..09537972f 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors.H @@ -21491,21 +21491,22 @@ fapi_try_exit: } /// -/// @brief ATTR_MSS_MRW_MEMDIAGS_BCMODE getter +/// @brief ATTR_MSS_MRW_FORCE_BCMODE_OFF getter /// @param[out] uint8_t& reference to store the value /// @note Generated by gen_accessors.pl generateParameters (SYSTEM) /// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK -/// @note A switch for memdiags broadcast -/// mode +/// @note An override switch to shut off broadcast mode Enum values: YES: broadcast mode +/// is forced off NO: broadcast mode uses the default +/// value /// -inline fapi2::ReturnCode mrw_memdiags_bcmode(uint8_t& o_value) +inline fapi2::ReturnCode mrw_force_bcmode_off(uint8_t& o_value) { - FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_MSS_MRW_MEMDIAGS_BCMODE, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(), o_value) ); + FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_MSS_MRW_FORCE_BCMODE_OFF, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(), o_value) ); return fapi2::current_err; fapi_try_exit: - FAPI_ERR("failed accessing ATTR_MSS_MRW_MEMDIAGS_BCMODE: 0x%lx (system target)", + FAPI_ERR("failed accessing ATTR_MSS_MRW_FORCE_BCMODE_OFF: 0x%lx (system target)", uint64_t(fapi2::current_err)); return fapi2::current_err; } @@ -28119,6 +28120,28 @@ fapi_try_exit: /// +/// @brief ATTR_MSS_OVERRIDE_MEMDIAGS_BCMODE getter +/// @param[out] uint8_t& reference to store the value +/// @note Generated by gen_accessors.pl generateParameters (SYSTEM) +/// @return fapi2::ReturnCode - FAPI2_RC_SUCCESS iff get is OK +/// @note A switch for memdiags broadcast +/// mode +/// +inline fapi2::ReturnCode override_memdiags_bcmode(uint8_t& o_value) +{ + + FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_MSS_OVERRIDE_MEMDIAGS_BCMODE, fapi2::Target<fapi2::TARGET_TYPE_SYSTEM>(), + o_value) ); + return fapi2::current_err; + +fapi_try_exit: + FAPI_ERR("failed accessing ATTR_MSS_OVERRIDE_MEMDIAGS_BCMODE: 0x%lx (system target)", + uint64_t(fapi2::current_err)); + return fapi2::current_err; +} + + +/// /// @brief ATTR_MAX_ALLOWED_DIMM_FREQ getter /// @param[out] uint32_t* memory to store the value /// @note Generated by gen_accessors.pl generateParameters (SYSTEM A) |