summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep11list.H
blob: 408a94a89447636b7acfe8ed837cd6487e0e8415 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/include/usr/isteps/istep11list.H $                        */
/*                                                                        */
/* IBM CONFIDENTIAL                                                       */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 2011,2013              */
/*                                                                        */
/* p1                                                                     */
/*                                                                        */
/* Object Code Only (OCO) source materials                                */
/* Licensed Internal Code Source Materials                                */
/* IBM HostBoot Licensed Internal Code                                    */
/*                                                                        */
/* The source code for this program is not published or otherwise         */
/* divested of its trade secrets, irrespective of what has been           */
/* deposited with the U.S. Copyright Office.                              */
/*                                                                        */
/* Origin: 30                                                             */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
#ifndef __ISTEPS_ISTEP11LIST_H
#define __ISTEPS_ISTEP11LIST_H

/**
 * list of functions called for DMI Training - ISTEP 11 according to Dean's
 *  IPL Flow Doc        v1.28 (12/03/12)
 *
 * 11.1  mss_getecid
 *       :  Read out ECID orff all Centaurs
 * 11.2  proc_dmi_scominit
 *       :  DMI Scom setup on P8 MCS
 * 11.3  dmi_scominit
 *       :  Scom setup on centaur
 * 11.4  dmi_erepair
 *          : Restore EDI Bus eRepair data
 * 11.5  dmi_io_dccal
 *       : Calibrate DMI interfaces
 * 11.6  dmi_pre_trainadv
 *       : Advanced pre DMI training
 * 11.7  dmi_io_run_training
 *       : Run training on MC buses
 * 11.8  dmi_post_trainadv
 *       : Advanced post DMI training
 * 11.9  proc_cen_framelock
 *       : Initialize EDI Frame
 * 11.10 host_startprd_dmi
 *       : Load prd for DMI domain
 * 11.11 host_attnlisten_cen
 *       : Start listening for attentions
 * 11.12 cen_set_inband_addr
 *       : Set the Inband base addresses
 */

/**
 * @file    istep11list.H
 *
 *
 *  Please see the note in initsvcstructs.H for description of
 *      the ISTEPNAME macro.
 *
 */

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

//  include prototypes file
#include    "../../../usr/hwpf/hwp/dmi_training/dmi_training.H"

namespace   INITSERVICE
{


const   TaskInfo    g_istep11[]  =   {

        {
                "",         // dummy, index 0
                NULL,
                {
                        NONE,
                        EXT_IMAGE,
                        IPL_NOOP,
                        false,                              // true = check for attentions
                }
        },
        {
                ISTEPNAME(11,01,"mss_getecid"),             // substep name
                DMI_TRAINING::call_mss_getecid,             // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,02,"proc_dmi_scominit"),       // substep name
                DMI_TRAINING::call_proc_dmi_scominit,       // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },

        {
                ISTEPNAME(11,03,"dmi_scominit"),             // substep name
                DMI_TRAINING::call_dmi_scominit,             // pointer to fn
                {
                        START_FN,                            // task type
                        EXT_IMAGE,                           // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },

        {
                ISTEPNAME(11,04,"dmi_erepair"),              // substep name
                DMI_TRAINING::call_dmi_erepair,              // pointer to fn
                {
                        START_FN,                            // task type
                        EXT_IMAGE,                           // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,05,"dmi_io_dccal"),             // substep name
                DMI_TRAINING::call_dmi_io_dccal,            // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,06,"dmi_pre_trainadv"),        // substep name
                DMI_TRAINING::call_dmi_pre_trainadv,        // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,07,"dmi_io_run_training"),      // substep name
                DMI_TRAINING::call_dmi_io_run_training,     // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,08,"dmi_post_trainadv"),       // substep name
                DMI_TRAINING::call_dmi_post_trainadv,       // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,09,"proc_cen_framelock"),       // substep name
                DMI_TRAINING::call_proc_cen_framelock,      // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,10,"host_startprd_dmi"),        // substep name
                DMI_TRAINING::call_host_startprd_dmi,       // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,11,"host_attnlisten_cen"),      // substep name
                DMI_TRAINING::call_host_attnlisten_cen,     // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },
        {
                ISTEPNAME(11,12,"cen_set_inband_addr"),      // substep name
                DMI_TRAINING::call_cen_set_inband_addr,      // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP,
                        true,
                }
        },

        //  END OF LIST!
};

const DepModInfo  g_istep11Dependancies = {
    {
        DEP_LIB(libdmi_training.so),
        DEP_LIB(libedi_ei_initialization.so),
        { 0 },
    }
};


// make a struct from the above with the number of items included
const   ExtTaskInfo g_istep11TaskList    =   {
        &(g_istep11[0]),
        ( sizeof(g_istep11)/sizeof(TaskInfo) ),
        &g_istep11Dependancies
};

};  // end namespace

#endif
OpenPOWER on IntegriCloud