From a17eb3a5e035368c50323c381020a163aac183d4 Mon Sep 17 00:00:00 2001 From: "Andre A. Marin" Date: Wed, 20 Mar 2019 09:01:13 -0500 Subject: [PATCH] Fix c_str and pos DIMM specialization Change-Id: I4fa0f8f1650265a091fda7a3a552ed015e137756 Original-Change-Id: Id234f7f14bc4dd90de1f8ea70a4617c513ca1ffa Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74846 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Reviewed-by: STEPHEN GLANCY Tested-by: Hostboot CI Tested-by: HWSV CI Reviewed-by: Mark Pizzutillo Reviewed-by: Louis Stermole Reviewed-by: Jennifer A. Stofer --- .../lib/utils/shared/mss_generic_consts.H | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) 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 468d20790..256038477 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 @@ -164,7 +164,10 @@ enum generic_ffdc_codes SET_SI_ODT_WR = 0x1059, SET_SI_ODT_RD = 0x1060, SET_SI_GEARDOWN_MODE = 0x1061, - PRE_DATA_ENGINE_CTOR = 0x1062 + PRE_DATA_ENGINE_CTOR = 0x1062, + SET_DRAM_GEN_METADATA = 0x1063, + SET_DIMM_TYPE_METADATA = 0x1064, + SET_DIMM_POS_METADATA = 0x1065, }; /// @@ -343,16 +346,17 @@ enum class throttle_type }; /// -/// @brief Trait classes for proc_type +/// @brief Trait classes for mc_type +/// @tparam MC the mc_type /// -template< proc_type P > -class procTraits; +template< mc_type MC > +class mcTypeTraits; /// -/// @brief Trait classes for proc_type - NIMBUS specialization +/// @brief Trait classes for mc_type - NIMBUS specialization /// template< > -struct procTraits +struct mcTypeTraits { enum { @@ -368,15 +372,19 @@ struct procTraits }; /// -/// @brief Trait classes for proc_type - AXONE specialization +/// @brief Trait classes for mc_type - EXPLORER specialization /// -/// TODO: Need to add mc_type template< > -struct procTraits +struct mcTypeTraits { enum { - EXP_PORTS_PER_OCMB = 1, + MC_PER_PROC = 2, + MI_PER_MC = 2, + MCC_PER_MI = 2, + OMI_PER_MCC = 2, + OCMB_PER_OMI = 1, + PORTS_PER_OCMB = 1, DIMMS_PER_PORT = 2, }; };