summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice/istepdispatcher/isteplist.H
blob: a72815a7929f72e661ebcee6614009857bf3f9cd (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
52
53
54
55
56
57
#ifndef __ISTEPS_H
#define __ISTEPS_H
/**
 * @file    extinitsvctasks.H
 *
 *  TaskInfo structs for each task that will run in the extended image.
 */

#include    <initservice/initsvcreasoncodes.H>
#include    "istepdispatcher.H"
#include    "../../isteps/isteps.H"

namespace   INITSERVICE
{

const   uint64_t MAX_ISTEPS   =   25;

const TaskInfo    isteps[]   =   {

        //  -----   ISteps Image  ------------------------------------------

        /**
         * @brief   targeting task, initializes extended module area
         */
        {
                "istep1" ,                              // istep name
                ISTEPS::IStep1,                         // pointer to fn
                {
                        NONE,                           // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_1_ERRL_ID,                // module id
                }
        },

        //  ---------------------------------------------------------------
        //  -----   END OF LIST!!!  ---------------------------------------
        //  ---------------------------------------------------------------

        /**
         * @brief   last task in the list
         */
        {
                "end" ,                                 // dummy string
                NULL,                                   // pointer to fn
                {
                        END_TASK_LIST,                       // end of list
                        UNDEFINED_MT,                   // dummy module type
                        UNDEFINED_MODULE_ERRL_ID,            // dummy errorlog
                }
        },

};


};  // namespace

#endif  // __EXT_INIT_SVC_TASKS_H
OpenPOWER on IntegriCloud