diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-01-17 10:42:48 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-02-04 13:10:03 -0600 |
commit | 68286500750647b14ec5cbbe0253bafef2fdf341 (patch) | |
tree | 6daad1d9a2fdb00c73b0714e261f2b361b3cb409 /src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C | |
parent | 51600b1e0118cd11953c79443f8fdf6156cff455 (diff) | |
download | talos-hostboot-68286500750647b14ec5cbbe0253bafef2fdf341.tar.gz talos-hostboot-68286500750647b14ec5cbbe0253bafef2fdf341.zip |
change path.dump() calls to trace HUID
also, some other general cleanup
- replace loop counters with iterators
- made more code consistant
- fixed bug where errl wasn't getting committed
Change-Id: I7acdda17b1b116675ce84de8c22f87395e0fee91
RTC: 59413
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2949
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C')
-rw-r--r-- | src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C | 56 |
1 files changed, 26 insertions, 30 deletions
diff --git a/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C b/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C index c46703cd1..1ea2f46e1 100644 --- a/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C +++ b/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 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/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* */ +/* 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 */ /** * @file establish_system_smp.C * @@ -86,15 +85,12 @@ void* call_host_coalesce_host( void *io_pArgs ) // customize any other inputs // set up loops to go through all targets (if parallel, spin off a task) - // dump physical path to targets - EntityPath l_path; - l_path = l_@targetN_target->getAttr<ATTR_PHYS_PATH>(); - l_path.dump(); + // write HUID of target + TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, + "target HUID %.8X", TARGETING::get_huid(l)); // cast OUR type of target to a FAPI type of target. - const fapi::Target l_fapi_@targetN_target( - TARGET_TYPE_MEMBUF_CHIP, - reinterpret_cast<void *> + const fapi::Target l_fapi_@targetN_target( TARGET_TYPE_MEMBUF_CHIP, (const_cast<TARGETING::Target*>(l_@targetN_target)) ); // call the HWP with each fapi::Target |