summaryrefslogtreecommitdiffstats
path: root/sbe/sbefw/sbecmdcntlinst.C
diff options
context:
space:
mode:
authorSantosh Puranik <santosh.puranik@in.ibm.com>2016-07-18 05:27:58 -0500
committerGregory S. Still <stillgs@us.ibm.com>2016-07-18 12:23:36 -0400
commitb06df3e99d5c2a1f2ada40206c9f317cbe2f1b6f (patch)
tree0c3df08484d4f43ca715dbb946bfe5525e866acf /sbe/sbefw/sbecmdcntlinst.C
parentfb90c414ce973311513a531e58bfd31b54d3004a (diff)
downloadtalos-sbe-b06df3e99d5c2a1f2ada40206c9f317cbe2f1b6f.tar.gz
talos-sbe-b06df3e99d5c2a1f2ada40206c9f317cbe2f1b6f.zip
Update to plat_getTargetHandleByChipletNumber
Templatized to take in a fapi2 Target type Change-Id: Icd55f82e6c8dd0bed92eb245678722ec15f12617 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27127 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'sbe/sbefw/sbecmdcntlinst.C')
-rw-r--r--sbe/sbefw/sbecmdcntlinst.C29
1 files changed, 27 insertions, 2 deletions
diff --git a/sbe/sbefw/sbecmdcntlinst.C b/sbe/sbefw/sbecmdcntlinst.C
index 824d3e08..a6be068c 100644
--- a/sbe/sbefw/sbecmdcntlinst.C
+++ b/sbe/sbefw/sbecmdcntlinst.C
@@ -1,3 +1,27 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: sbe/sbefw/sbecmdcntlinst.C $ */
+/* */
+/* OpenPOWER sbe Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2016 */
+/* [+] International Business Machines Corp. */
+/* */
+/* */
+/* Licensed under the Apache License, Version 2.0 (the "License"); */
+/* you may not use this file except in compliance with the License. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
/*
* @file: ppe/sbe/sbefw/sbecmdcntlinst.C
*
@@ -108,8 +132,9 @@ uint32_t sbeCntlInst(uint8_t *i_pArg)
uint64_t l_state;
do
{
- fapi2::Target<fapi2::TARGET_TYPE_CORE> l_coreTgt(
- plat_getTargetHandleByChipletNumber(l_core));
+ fapi2::Target<fapi2::TARGET_TYPE_CORE>
+ l_coreTgt(plat_getTargetHandleByChipletNumber
+ <fapi2::TARGET_TYPE_CORE>(l_core));
if(!l_coreTgt.isFunctional())
{
continue;
OpenPOWER on IntegriCloud