summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep06list.H
blob: ac0a3d07798cf47b19569481223a5dddfc45a95a (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
/* 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,2014              */
/*                                                                        */
/* 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"
 *
 *  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.37 (08/13/13)
 *
 *  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    proc_cen_ref_clk_enable
 *      :   Setup centaur ref clocks
 *  06.10    host_slave_sbe_config
 *  06.11   host_sbe_start
 *  06.12   proc_check_slave_sbe_seeprom_complete
 *        : Check Slave SBE Complete
 *  06.13   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"),
                HWAS::host_init_fsi,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, false }
        },
        {
                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"),
                HWAS::host_discover_targets,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, false }
        },
        {
                ISTEPNAME(06,06, "host_gard"),
                HWAS::host_gard,
                { START_FN, EXT_IMAGE, 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,"proc_cen_ref_clk_enable"),
                SLAVE_SBE::call_proc_cen_ref_clk_enable,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false }
        },
        {
                ISTEPNAME(06,10,"host_slave_sbe_config"),
                SLAVE_SBE::call_host_slave_sbe_config,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false }
        },
        {
                ISTEPNAME(06,11,"host_sbe_start"),
                SLAVE_SBE::call_host_sbe_start,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false }
        },
        {
                ISTEPNAME(06,12,"proc_check_slave_sbe_seeprom_complete"),
                SLAVE_SBE::call_proc_check_slave_sbe_seeprom_complete,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP | MPIPL_OP, false }
        },
        {
                ISTEPNAME(06,13,"proc_xmit_sbe"),
                SLAVE_SBE::call_proc_xmit_sbe,
                { START_FN, EXT_IMAGE, NORMAL_IPL_OP, false }
        },
};

const DepModInfo  g_istep06Dependancies = {
    {
      DEP_LIB(libbuild_winkle_images.so), //proc_mailbox_utils
      DEP_LIB(libslave_sbe.so),
      DEP_LIB(libsbe.so),
      NULL
    }
};

const ExtTaskInfo g_istep06TaskList = {
    &(g_istep06[0]),
    ( sizeof(g_istep06)/sizeof(TaskInfo) ),
    &(g_istep06Dependancies),
};

};  // end namespace

#endif
OpenPOWER on IntegriCloud