From a57d9746ec970e5d74269718da7c7e7d012e00ed Mon Sep 17 00:00:00 2001 From: duchen Date: Mon, 4 Feb 2019 13:09:15 -0600 Subject: Update FAPI2 functions to handle new template parms for multicast support Include changes 70177, 70867, 70946 and get them compiling Due note that this will not compile as is because we still need some changes on the ekb side. List of such changes include: 1) fapi2_hw_access.H: MulticastGroupMapping not defined 2) fapi2_target.H: plat_apply_target_limits() and mcUpdateHandle() not defined 3) multicast_defs.H: MulticastCoreSelect enum not defined Change-Id: Ib828644d1535c65f4adcf9b3715cf0b1316f5700 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71310 Reviewed-by: Daniel M. Crowell Tested-by: Daniel M. Crowell --- src/usr/fapi2/attribute_service.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/usr/fapi2/attribute_service.C') diff --git a/src/usr/fapi2/attribute_service.C b/src/usr/fapi2/attribute_service.C index 52bd4973a..6bf481ba0 100644 --- a/src/usr/fapi2/attribute_service.C +++ b/src/usr/fapi2/attribute_service.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2018 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -192,7 +192,8 @@ bool getTargetingAttrHelper(TARGETING::Target * l_pTargTarget, /// See doxygen in H file. /// ReturnCode getTargetingAttr( - const Target< TARGET_TYPE_ALL, plat_target_handle_t >& i_pFapiTarget, + const Target< TARGET_TYPE_ALL, MULTICAST_OR, + plat_target_handle_t >& i_pFapiTarget, const TARGETING::ATTRIBUTE_ID i_targAttrId, const uint32_t i_attrSize, void * o_pAttr) @@ -264,7 +265,8 @@ bool setTargetingAttrHelper(TARGETING::Target * l_pTargTarget, /// See doxygen in H file /// ReturnCode setTargetingAttr( - const Target& i_pFapiTarget, + const Target& i_pFapiTarget, const TARGETING::ATTRIBUTE_ID i_targAttrId, const uint32_t i_attrSize, void * i_pAttr) -- cgit v1.2.1