summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice/baseinitsvc/initsvctasks.H
blob: ae3362d3170e2a85c0adfdba251cb406f61f8edd (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/**
 * @file    initsvctasks.H
 *
 *  TaskInfo structs for each task that will run.
 */

#ifndef __INIT_SVC_TASKS_H
#define __INIT_SVC_TASKS_H

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

namespace   INITSERVICE
{

const   uint64_t MAX_TASKS   =   10;

const TaskInfo    iv_taskinfolist[]   =   {

        /**
         *  @brief  Errorlog    Task
         */
        {
                "liberrl.so" ,                  // taskname
                NULL,                           // no ptr to fn
                {
                        NONE,                        // don't start
                        BASE_IMAGE,             // Base Module
                        START_ERRL_ERRL_ID,     // module id for errorlog

                }
        },


        /**
         * @brief   PNOR    Driver  Task
         */
        {
                "libpnordd.so" ,                        // taskname
                NULL,                                   // no pointer to fn
                {
                        NONE,                                // don't start
                        BASE_IMAGE,                     // Base Module
                        START_PNORDD_ERRL_ID,                // module id for errorlog
                }
        },

        //  -----   Extended Image  -----------------------------------------------------

        /**
         * @brief   extinitsvc, initializes extended module area
         */
        {
                "libextinitsvc.so" ,                     // taskname
                NULL,                                   // no pointer to fn
                {
                        START_TASK,                          // don't start
                        EXT_IMAGE,                      // Ext Module
                        START_EXTINITSVC_ERRL_ID,             // module id for errorlog
                }
        },


        //  ---------------------------------------------------------------
        //  -----   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    INITSERVICE
#endif  // __INIT_SVC_TASKS_H
OpenPOWER on IntegriCloud