From e9de3b17d17a3c230ae9db3ed7d4139950cd4963 Mon Sep 17 00:00:00 2001 From: "Terry J. Opie" Date: Wed, 25 Apr 2012 11:39:05 -0500 Subject: Preload PNOR VPD correctly - Handle Venice, Murano, Tuleta - Change SPD code to use VPD_REC_NUM attribute - Modify FAPI/HWPF tests to use present DIMM targets Change-Id: I2348a2da90ea85a966f3724f8b3694a0b8f03916 RTC: 40774 Depends-on: I7d1b41c9f9e87baa9d42b78bf4351e3b6d774cb5 RTC: 39133 Depends-on: Ia0f22c87f8bc3959324fa8347e191f2b47b4325c RTC: 35835 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/950 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE Reviewed-by: A. Patrick Williams III --- src/usr/targeting/common/utilFilter.C | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/usr/targeting/common/utilFilter.C') diff --git a/src/usr/targeting/common/utilFilter.C b/src/usr/targeting/common/utilFilter.C index 71d7b825a..f6fcc3756 100644 --- a/src/usr/targeting/common/utilFilter.C +++ b/src/usr/targeting/common/utilFilter.C @@ -49,7 +49,7 @@ namespace TARGETING * @parm[in] i_type, the type of the targets to be obtained * @parm[in] i_functional, set to true to return only functional targets * - * @return N/A + * @return N/A */ void _getAllChipsOrChiplets( TARGETING::TargetHandleList & o_vector, CLASS i_class, TYPE i_type, bool i_functional = true ) @@ -86,6 +86,28 @@ void getAllChips( TARGETING::TargetHandleList & o_vector, } +void getAllLogicalCards( TARGETING::TargetHandleList & o_vector, + TYPE i_cardType, + bool i_functional = true ) +{ + _getAllChipsOrChiplets( o_vector, + CLASS_LOGICAL_CARD, + i_cardType, + i_functional ); +} + + +void getAllCards( TARGETING::TargetHandleList & o_vector, + TYPE i_cardType, + bool i_functional = true ) +{ + _getAllChipsOrChiplets( o_vector, + CLASS_CARD, + i_cardType, + i_functional ); +} + + void getAllChiplets( TARGETING::TargetHandleList & o_vector, TYPE i_chipletType, bool i_functional = true ) { -- cgit v1.2.1