summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep06list.H
blob: cdcb8b8dc69b9db453179595249d2fc161a22d49 (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
//  IBM_PROLOG_BEGIN_TAG
//  This is an automatically generated prolog.
//
//  $Source: src/include/usr/isteps/istep6list.H $
//
//  IBM CONFIDENTIAL
//
//  COPYRIGHT International Business Machines Corp. 2011
//
//  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 other-
//  wise divested of its trade secrets, irrespective of what has
//  been deposited with the U.S. Copyright Office.
//
//  Origin: 30
//
//  IBM_PROLOG_END
#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/hwas.H>
#include    <hwas/plat/hostbootIstep.H>


namespace   INITSERVICE
{

/**
 * @note    IStep definition for Hostboot - Slave SBE
 *
 *  1.  host_setup : Setup host environment
 *  2.  host_istep_enable : Hostboot istep ready
 *  3.  host_init_fsi : Setup the FSI links to slave chips
 *  4.  host_set_ipl_parms : Build ipl parameters
 *  5.  host_discover_targets : Builds targeting
 *  6.  host_gard : Do Gard
 *  7.  host_cancontinue_clear : Clear deconfigured states
 *  8.  proc_check_slave_sbe_seeprom_complete : Check Slave SBE Complete
 *
 */
const   TaskInfo    g_istep06[]  =   {

        // @ todo   isteps are numbered wrong to match up with hb-istep -
        //          need to add stubs for the other substeps
        {
                ISTEPNAME(06,00,"host_init_fsi"),         // substep name
                HWAS::host_init_fsi,                    // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                }
        },
        {
                ISTEPNAME(06,01,"host_discover_targets"), // substep name
                HWAS::host_discover_targets,            // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                }
        },
        {
                ISTEPNAME(06,02, "host_gard"),           // substep name
                HWAS::host_gard,                        // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                }
        },

        //  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