Skip to content

Commit

Permalink
Fix c_str and pos DIMM specialization
Browse files Browse the repository at this point in the history
Change-Id: Id234f7f14bc4dd90de1f8ea70a4617c513ca1ffa
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74846
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com>
Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80989
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
aamarin authored and RAJA DAS committed Jul 25, 2019
1 parent b141546 commit e1257e4
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions src/import/generic/memory/lib/utils/shared/mss_generic_consts.H
Expand Up @@ -202,7 +202,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,
};

///
Expand Down Expand Up @@ -607,16 +610,17 @@ struct procTraits<proc_type::AXONE>
};

///
/// @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<proc_type::NIMBUS>
struct mcTypeTraits<mc_type::NIMBUS>
{
enum
{
Expand All @@ -632,15 +636,20 @@ struct procTraits<proc_type::NIMBUS>
};

///
/// @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<proc_type::AXONE>
struct mcTypeTraits<mc_type::EXPLORER>
{
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,
};
};

Expand Down

0 comments on commit e1257e4

Please sign in to comment.