summaryrefslogtreecommitdiffstats
path: root/src/build/tools
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2012-03-20 11:37:13 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-04-04 13:23:18 -0500
commitdd7a32e1a27ecac1c8decaa958cbca7ef139c6bc (patch)
tree65706898117498bf0c280e772c3e850386b0c378 /src/build/tools
parent36123c3c9911bc6feefc27e17b4285f1079b569f (diff)
downloadtalos-hostboot-dd7a32e1a27ecac1c8decaa958cbca7ef139c6bc.tar.gz
talos-hostboot-dd7a32e1a27ecac1c8decaa958cbca7ef139c6bc.zip
Refactor InitService
Finish join() conversion, remove TaskArgs Cleanup Initservice Cleanup ExtInitService Cleanup IStepDisp Add SPLess Halt & Shutdown command. Implements code for Tasks 35508, 3855, 36929 and 38870 . RTC: 38196 Change-Id: I554655412b529ef6cd143fea361a39bd584d18b5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/794 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-xsrc/build/tools/genIStep.pl10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/build/tools/genIStep.pl b/src/build/tools/genIStep.pl
index cb8f2255b..c20b4eec4 100755
--- a/src/build/tools/genIStep.pl
+++ b/src/build/tools/genIStep.pl
@@ -244,8 +244,7 @@ my $templateHFileSubStep =
*
* \@istepnum.\@substepnum : \@substepdesc
*
- * param[in,out] io_pArgs - (normally) a pointer to a TaskArgs struct,
- * or NULL.
+ * param[in,out] io_pArgs - (normally) a pointer to any args, or NULL.
* return none
*
*/
@@ -345,9 +344,6 @@ my $templateCFileSubStep =
//
void call_\@substepname( void *io_pArgs )
{
- // \@todo remove when join() merged
- INITSERVICE::TaskArgs *pTaskArgs =
- static_cast<INITSERVICE::TaskArgs *>( io_pArgs );
fapi::ReturnCode l_fapirc;
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, \"call_\@substepname entry\" );
@@ -399,9 +395,7 @@ void call_\@substepname( void *io_pArgs )
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, \"call_\@substepname exit\" );
- // end the task.
- pTaskArgs->waitChildSync(); // \@todo remove when join() merged
- task_end();
+ task_end2( NULL );
}
";
##### end templateCFileSubStep #################################
OpenPOWER on IntegriCloud