diff options
author | CamVan Nguyen <ctnguyen@us.ibm.com> | 2012-08-15 16:01:22 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-08-16 13:54:43 -0500 |
commit | 1681d8660846d58472bb717917ec383b49d69faf (patch) | |
tree | 9d5449b8aab65fc06bd7c4967db7953be12b8116 /src/usr/hwpf/hwp/establish_system_smp | |
parent | 3afee991ccf79716b952706edfdf128b16154810 (diff) | |
download | talos-hostboot-1681d8660846d58472bb717917ec383b49d69faf.tar.gz talos-hostboot-1681d8660846d58472bb717917ec383b49d69faf.zip |
Updates to IPL flow v1.08
Change-Id: I496b5739f625dd5111a5cdd144e89dcd43ad1986
RTC: 45712
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1533
Tested-by: Jenkins Server
Reviewed-by: Van H. Lee <vanlee@us.ibm.com>
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')
-rw-r--r-- | src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.C | 153 | ||||
-rw-r--r-- | src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H | 87 |
2 files changed, 47 insertions, 193 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 0f9015739..1508ecbf0 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,26 @@ -// 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 - +/* 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 + */ /** * @file establish_system_smp.C * @@ -55,8 +55,6 @@ // Uncomment these files as they become available: // #include "host_coalesce_host/host_coalesce_host.H" -// #include "proc_tod_setup/proc_tod_setup.H" -// #include "proc_tod_init/proc_tod_init.H" namespace ESTABLISH_SYSTEM_SMP { @@ -119,109 +117,4 @@ void call_host_coalesce_host( void *io_pArgs ) -// -// Wrapper function to call 18.9 : -// proc_tod_setup -// -void call_proc_tod_setup( void *io_pArgs ) -{ - errlHndl_t l_errl = NULL; - - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "call_proc_tod_setup entry" ); - -#if 0 - // @@@@@ CUSTOM BLOCK: @@@@@ - // figure out what targets we need - // 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(); - - // 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_cast<TARGETING::Target*>(l_@targetN_target)) ); - - // call the HWP with each fapi::Target - FAPI_INVOKE_HWP( l_errl, proc_tod_setup, _args_...); - if ( l_errl ) - { - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - "ERROR : .........." ); - errlCommit( l_errl, HWPF_COMP_ID ); - } - else - { - TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "SUCCESS : .........." ); - } - // @@@@@ END CUSTOM BLOCK: @@@@@ -#endif - - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "call_proc_tod_setup exit" ); - - // end task, returning any errorlogs to IStepDisp - task_end2( l_errl ); -} - - - -// -// Wrapper function to call 18.10 : -// proc_tod_init -// -void call_proc_tod_init( void *io_pArgs ) -{ - errlHndl_t l_errl = NULL; - - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "call_proc_tod_init entry" ); - -#if 0 - // @@@@@ CUSTOM BLOCK: @@@@@ - // figure out what targets we need - // 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(); - - // 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_cast<TARGETING::Target*>(l_@targetN_target)) ); - - // call the HWP with each fapi::Target - FAPI_INVOKE_HWP( l_errl, proc_tod_init, _args_...); - if ( l_errl ) - { - TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace, - "ERROR : .........." ); - errlCommit( l_errl, HWPF_COMP_ID ); - } - else - { - TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "SUCCESS : .........." ); - } - // @@@@@ END CUSTOM BLOCK: @@@@@ -#endif - - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "call_proc_tod_init exit" ); - - // end task, returning any errorlogs to IStepDisp - task_end2( l_errl ); -} - - }; // end namespace diff --git a/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H b/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H index a5208fe97..ddebded86 100644 --- a/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H +++ b/src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H @@ -1,26 +1,26 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H $ -// -// 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 - +/* IBM_PROLOG_BEGIN_TAG + * This is an automatically generated prolog. + * + * $Source: src/usr/hwpf/hwp/establish_system_smp/establish_system_smp.H $ + * + * 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 + */ #ifndef __ESTABLISH_SYSTEM_SMP_ESTABLISH_SYSTEM_SMP_H #define __ESTABLISH_SYSTEM_SMP_ESTABLISH_SYSTEM_SMP_H @@ -39,7 +39,7 @@ */ /* @tag isteplist - * @docversion v1.01 (03/26/12) + * @docversion v1.08 (08/13/12) * @istepname establish_system_smp * @istepnum 18 * @istepdesc Establish System SMP @@ -50,18 +50,6 @@ * @substepdesc : Create single host image * @target_sched serial * @} - * @{ - * @substepnum 9 - * @substepname proc_tod_setup - * @substepdesc : Setup TOD - * @target_sched serial - * @} - * @{ - * @substepnum 10 - * @substepname proc_tod_init - * @substepdesc : Init TOD - * @target_sched serial - * @} * */ @@ -89,33 +77,6 @@ void call_host_coalesce_host( void *io_pArgs ); -/** - * @brief proc_tod_setup - * - * 18.9 : : Setup TOD - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return none - * - */ -void call_proc_tod_setup( void *io_pArgs ); - - - -/** - * @brief proc_tod_init - * - * 18.10 : : Init TOD - * - * param[in,out] - pointer to any arguments, usually NULL - * - * return none - * - */ -void call_proc_tod_init( void *io_pArgs ); - - }; // end namespace #endif |