diff options
| author | crgeddes <crgeddes@us.ibm.com> | 2015-12-28 15:09:41 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-03-15 11:41:07 -0400 |
| commit | c06595679e76988d9403ad62d8539bb1486dee6b (patch) | |
| tree | c0d018213831654624a3c49ea8c4e2b0d4687cf3 /src/include/usr/targeting/common | |
| parent | 2c7af1f6cf8995bed10e9f2aacce431015bb4f96 (diff) | |
| download | blackbird-hostboot-c06595679e76988d9403ad62d8539bb1486dee6b.tar.gz blackbird-hostboot-c06595679e76988d9403ad62d8539bb1486dee6b.zip | |
FAPI2 GetParent Interface
This commit addes the getParent function the fapi2::target interface.
Also in this commit I remove some old fapi dependencies, and
changed some reasoncode information that was causing naming collisions.
Change-Id: Ib9ba92eaccf29709dafcdead9c82ccc8f8b139c1
RTC:129517
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/837
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/targeting/common')
| -rw-r--r-- | src/include/usr/targeting/common/utilFilter.H | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/utilFilter.H b/src/include/usr/targeting/common/utilFilter.H index 589dcdb67..9c501f418 100644 --- a/src/include/usr/targeting/common/utilFilter.H +++ b/src/include/usr/targeting/common/utilFilter.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* Contributors Listed Below - COPYRIGHT 2012,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -254,6 +254,16 @@ void getParentAffinityTargets ( TARGETING::TargetHandleList& o_vector, const Target * getParentChip( const Target * i_pChiplet ); /** + * @brief return the parent target of the specified input unit + * + * @parm[in] i_unit, unit target used for finding the parent target + * @parm[in] i_pType, type of the parent + * + * @return Parent target pointer or NULL if error + */ +const Target * getParent( const Target * i_unit , TARGETING::TYPE &i_pType); + +/** * @brief return the EX target of the specified input core chiplet * * @parm[in] i_pCoreChiplet, core chiplet target for retrieving the |

