From 5f6568a59e35570f149d148f0cb24e068e70efcf Mon Sep 17 00:00:00 2001 From: Brian Horton Date: Thu, 16 Feb 2012 11:16:23 -0600 Subject: Story 37595: Targeting: Add DIMM targets to simics_Venice and VBU images * add logic to hwas.C to find DIMMs and mark them as poweredOn, present and functional * correct bugs (s/CLASS_CARD/CLASS_LOGICAL_CARD) in other code that looked for TYPE_DIMM * add all possible DIMMs (256) to simics_VENICE.system and (8) to vbu.system.xml * also reduced simics_VENICE.system.xml file - it had 8 drawers; VENICE will only have 4. Change-Id: I7fb4913359c7153061ed1adaddf626943ee13957 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/673 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES Reviewed-by: Thi N. Tran Reviewed-by: A. Patrick Williams III --- src/usr/hwpf/plat/fapiPlatSystemConfig.C | 2 +- src/usr/hwpf/test/hwpftest.H | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/hwpf') diff --git a/src/usr/hwpf/plat/fapiPlatSystemConfig.C b/src/usr/hwpf/plat/fapiPlatSystemConfig.C index 9bd778b57..021dc7fbe 100644 --- a/src/usr/hwpf/plat/fapiPlatSystemConfig.C +++ b/src/usr/hwpf/plat/fapiPlatSystemConfig.C @@ -171,7 +171,7 @@ fapi::ReturnCode fapiGetAssociatedDimms( o_dimms.clear(); // Create a Class/Type/Model predicate to look for dimm cards - TARGETING::PredicateCTM l_predicate(TARGETING::CLASS_CARD, + TARGETING::PredicateCTM l_predicate(TARGETING::CLASS_LOGICAL_CARD, TARGETING::TYPE_DIMM); // Extract the HostBoot Target pointer for the input target diff --git a/src/usr/hwpf/test/hwpftest.H b/src/usr/hwpf/test/hwpftest.H index 26f198f3e..3e564457f 100644 --- a/src/usr/hwpf/test/hwpftest.H +++ b/src/usr/hwpf/test/hwpftest.H @@ -660,7 +660,7 @@ public: } // Get a DIMM Target - TARGETING::PredicateCTM predDimm( TARGETING::CLASS_CARD, + TARGETING::PredicateCTM predDimm( TARGETING::CLASS_LOGICAL_CARD, TARGETING::TYPE_DIMM ); TargetHandleList dimmList; -- cgit v1.2.3