diff options
author | Mark Wenning <wenning@us.ibm.com> | 2012-08-01 08:44:18 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-08-30 13:32:41 -0500 |
commit | 4a2f7b1d5010d9ac8c179ec34f038264ae393a5a (patch) | |
tree | de7958178acbc580ddc8c78f82637be3e16a79c9 /src/usr/hwpf/hwp/core_activate/core_activate.C | |
parent | 37e3944aa7e811d12028eddc1a790c8a5726d857 (diff) | |
download | talos-hostboot-4a2f7b1d5010d9ac8c179ec34f038264ae393a5a.tar.gz talos-hostboot-4a2f7b1d5010d9ac8c179ec34f038264ae393a5a.zip |
proc_prep_master_winkle
Change-Id: I7e0ea508c75e0e368e3bfde9dcaef1788169dcf3
RTC: 44818
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1517
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/core_activate/core_activate.C')
-rw-r--r-- | src/usr/hwpf/hwp/core_activate/core_activate.C | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/src/usr/hwpf/hwp/core_activate/core_activate.C b/src/usr/hwpf/hwp/core_activate/core_activate.C index 0cecf46d3..7aac36637 100644 --- a/src/usr/hwpf/hwp/core_activate/core_activate.C +++ b/src/usr/hwpf/hwp/core_activate/core_activate.C @@ -61,7 +61,8 @@ #include <sys/misc.h> // Uncomment these files as they become available: -// #include "host_activate_master/host_activate_master.H" +#include "proc_prep_master_winkle.H" +#include "proc_stop_deadman_timer.H" // #include "host_activate_slave_cores/host_activate_slave_cores.H" // #include "host_ipl_complete/host_ipl_complete.H" @@ -82,7 +83,7 @@ using namespace ISTEP; { errlHndl_t l_errl = NULL; - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_host_activate_master entry" ); // @@@@@ CUSTOM BLOCK: @@@@@ @@ -108,26 +109,24 @@ using namespace ISTEP; // cast OUR type of target to a FAPI type of target. const fapi::Target l_fapi_cpu_target( - TARGET_TYPE_PROC_CHIP, - reinterpret_cast<void *> - (const_cast<TARGETING::Target*>(l_cpu_target)) - ); - + TARGET_TYPE_PROC_CHIP, + reinterpret_cast<void *> + (const_cast<TARGETING::Target*> + (l_cpu_target)) ); -#if 1 TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "Call proc_prep_master_winkle when integrated..." ); -#else + "call_host_activate_master: call proc_prep_master_winkle." ); + // call the HWP with each fapi::Target FAPI_INVOKE_HWP( l_errl, proc_prep_master_winkle, - l_fapi_cpu_target ); -#endif + l_fapi_cpu_target, + true ); if ( l_errl ) { TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "proc_prep_master_winkle ERROR : Returning errorlog, PLID=0x%x", - l_errl->plid() ); + "proc_prep_master_winkle ERROR : Returning errorlog, PLID=0x%x", + l_errl->plid() ); break; } else @@ -136,14 +135,12 @@ using namespace ISTEP; "proc_prep_master_winkle SUCCESS" ); } - if (is_vpo()) // TODO: RTC 46651 - Simics doesn't support winkle. - { // put the master into winkle. + // Simics should work after build b0815a_1233.810 . TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_host_activate_master: put master into winkle..." ); - // @todo 2012-07-30 currently this is just a stub... int l_rc = cpu_master_winkle( ); if ( l_rc ) { @@ -168,23 +165,19 @@ using namespace ISTEP; break; } - } // TODO: Remove with RTC 46651 - - // -------------------------------------------------------- // should return from Winkle at this point // -------------------------------------------------------- + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + "Returned from Winkle." ); - -#if 1 TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, - "Call proc_stop_deadman_timer when integrated..." ); -#else + "Call proc_stop_deadman_timer..." ); + // call the HWP with each fapi::Target FAPI_INVOKE_HWP( l_errl, proc_stop_deadman_timer, l_fapi_cpu_target ); -#endif if ( l_errl ) { TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, @@ -203,7 +196,7 @@ using namespace ISTEP; // @@@@@ END CUSTOM BLOCK: @@@@@ - TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_host_activate_master exit" ); // end task, returning any errorlogs to IStepDisp |