From c07b8bb150f1464e17ebf3672460564ec3e8947c Mon Sep 17 00:00:00 2001 From: Brian Horton Date: Thu, 2 Aug 2012 10:19:13 -0500 Subject: Add node as default parameter to masterProcChipTargetHandle() Node will default to 0, so no callers have to change. For hostboot, callers will ALWAYS keep this as 0. For FSP code, node could be different. Change-Id: Ib78004dbf89cdee2cfceda6a0c8a54c96380bee1 RTC: 45742 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1465 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES Reviewed-by: Andrew J. Geissler Reviewed-by: A. Patrick Williams III --- src/include/usr/targeting/common/targetservice.H | 50 ++++++++++++------------ 1 file changed, 26 insertions(+), 24 deletions(-) (limited to 'src/include/usr/targeting/common/targetservice.H') diff --git a/src/include/usr/targeting/common/targetservice.H b/src/include/usr/targeting/common/targetservice.H index d9610e84a..2082ee149 100644 --- a/src/include/usr/targeting/common/targetservice.H +++ b/src/include/usr/targeting/common/targetservice.H @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/include/usr/targeting/common/targetservice.H $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2011-2012 - * - * p1 - * - * Object Code Only (OCO) source materials - * Licensed Internal Code Source Materials - * IBM HostBoot Licensed Internal Code - * - * The source code for this program is not published or other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/targeting/common/targetservice.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #ifndef __TARGETING_COMMON_TARGETSERVICE_H #define __TARGETING_COMMON_TARGETSERVICE_H @@ -324,6 +323,8 @@ class TargetService * * @param[out] o_masterProcChipTarget Target handle referring to the * current master processor chip (the one connected to PNOR) + * @param[in] i_node Node that this master resides on (default + * is 0) * * @pre None * @@ -332,7 +333,8 @@ class TargetService * information is not yet initialized */ void masterProcChipTargetHandle( - Target*& o_masterProcChipTargetHandle) const; + Target*& o_masterProcChipTargetHandle, + uint8_t i_node = 0) const; /** * @brief Returns whether the specified entity path attribute exists -- cgit v1.2.1