summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep1.C
blob: 1a28f10e1870967ea33d2b07d005abc880337bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
 *  @file isteps.C
 *
 *  Collection of IStep modules
 *
 */


/******************************************************************************/
// Includes
/******************************************************************************/
#include    <stdint.h>
#include    <stdio.h>
#include    <string.h>

#include    <sys/task.h>

#include    <trace/interface.H>         //  trace support
#include    <errl/errlentry.H>          //  errlHndl_t
#include    <initservice/taskargs.H>       //  task args

namespace   ISTEPS
{

/******************************************************************************/
// Globals/Constants
/******************************************************************************/
trace_desc_t *g_trac_istep1 = NULL;
TRAC_INIT(&g_trac_istep1, "ISTEP1", 4096);

extern  "C"
void    IStep1( void * io_pArgs )
{
    INITSERVICE::TaskArgs::TaskArgs *pTaskArgs  =
             reinterpret_cast<INITSERVICE::TaskArgs::TaskArgs *>(io_pArgs);

    TRACFCOMP( g_trac_istep1,
                ENTER_MRK "starting IStep 1");



    if  ( pTaskArgs )
    {
        pTaskArgs->waitChildSync();
    }

    task_end();
}


} // namespace
OpenPOWER on IntegriCloud