summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep06list.H
blob: 1d1e399280f2bfb1323f467b17b1b0e0f31529ee (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
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/include/usr/isteps/istep06list.H $                        */
/*                                                                        */
/* IBM CONFIDENTIAL                                                       */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 2011,2012              */
/*                                                                        */
/* 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_ISTEP6LIST_H
#define __ISTEPS_ISTEP6LIST_H

/**
 * @file    istep6list.H
 *
 *  list of functions called by HWAS (ISTEP 6) - "named isteps"
 *  IPL FLow Doc        v1.28 (12/03/12)
 *
 *  Please see the note in initsvcstructs.H for description of
 *      the ISTEPNAME macro.
 *
 */

#include    <initservice/initsvcstructs.H>
#include    <initservice/initsvcreasoncodes.H>
#include    <hwas/common/hwas.H>
#include    <hwas/hostbootIstep.H>
#include    "../../../usr/hwpf/hwp/slave_sbe/slave_sbe.H"

namespace   INITSERVICE
{

/**
 * @file    istep06list.H
 *
 * @note    IStep definition for Hostboot - Slave SBE
 *
 *  IStep 06    Slave SBE
 *  IPL FLow Doc        v1.28 (12/03/12)
 *
 *  06.1    host_setup
 *        : Setup host environment (non-executable istep)
 *  06.2    host_istep_enable
 *        : Hostboot istep ready (non-executable istep)
 *  06.3    host_init_fsi
 *        : Setup the FSI links to slave chips
 *  06.4    host_set_ipl_parms
 *        : Build ipl parameters
 *  06.5    host_discover_targets 
 *      :   Builds targeting
 *  06.6    host_gard
 *      :   Do Gard
 *  06.7    host_cancontinue_clear
 *      :   Clear deconfigured states
 *  06.8    proc_revert_sbe_mcs_setup
 *      :   Clean up MCS extent regs
 *  06.9    host_slave_sbe_config
 *  06.10   host_sbe_start
 *  06.11   proc_check_slave_sbe_seeprom_complete
 *        : Check Slave SBE Complete
 *  06.12   proc_xmit_sbe
 *        : vSBE Init of Slave Chips
 *
 */
const   TaskInfo    g_istep06[]  =   {
        {
                "",         // dummy, index 0
                NULL,
                {
                        NONE,
                        EXT_IMAGE,
                        IPL_NOOP,
                        false,
                }
        },
        {
                ISTEPNAME(06,01,""),        // not used.
                NULL,
                {
                        NONE,
                        EXT_IMAGE,
                        IPL_NOOP,
                        false,
                }
        },
        {
                ISTEPNAME(06,02,""),        // not used.
                NULL,
                {
                        NONE,
                        EXT_IMAGE,
                        IPL_NOOP,
                        false,
                }
        },

        {
                ISTEPNAME(06,03,"host_init_fsi"),           // substep name
                HWAS::host_init_fsi,                        // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP | MPIPL_OP,
                        false,                              // true = check for attentions
                }
        },
        {
                ISTEPNAME(06,04,"host_set_ipl_parms"),
                HWAS::host_set_ipl_parms,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP | MPIPL_OP,
                        false,
                }
        },
        {
                ISTEPNAME(06,05,"host_discover_targets"),   // substep name
                HWAS::host_discover_targets,                // pointer to fn
                {
                        START_FN,                           // task type
                        EXT_IMAGE,                          // Extended Module
                        NORMAL_IPL_OP | MPIPL_OP,
                        false,
                }
        },
        {
                ISTEPNAME(06,06, "host_gard"),           // substep name
                HWAS::host_gard,                        // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        NORMAL_IPL_OP | MPIPL_OP,
                        false,
                }
        },
        {
                ISTEPNAME(06,07,"host_cancontinue_clear"),
                HWAS::host_cancontinue_clear,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP,
                        false,
                }
        },
        {
                ISTEPNAME(06,08,"proc_revert_sbe_mcs_setup"),
                SLAVE_SBE::call_proc_revert_sbe_mcs_setup,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP,
                        false,
                }
        },
        {
                ISTEPNAME(06,09,"host_slave_sbe_config"),
                SLAVE_SBE::call_host_slave_sbe_config,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP,
                        false,
                }
        },

        {
                ISTEPNAME(06,10,"host_sbe_start"),
                SLAVE_SBE::call_host_sbe_start,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP,
                        false,
                }
        },

        {
                ISTEPNAME(06,11,"proc_check_slave_sbe_seeprom_complete"),
                SLAVE_SBE::call_proc_check_slave_sbe_seeprom_complete,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP,
                        false,
                }
        },
        {
                ISTEPNAME(06,12,"proc_xmit_sbe"),
                SLAVE_SBE::call_proc_xmit_sbe,
                {
                        START_FN,
                        EXT_IMAGE,
                        NORMAL_IPL_OP,
                        false,
                }
        },

        //  END OF LIST!
};

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

};  // end namespace

#endif
OpenPOWER on IntegriCloud