summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep04list.H
blob: b106a71db684a28e36c633ee2cb531a50fbf4eb8 (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
//  IBM_PROLOG_BEGIN_TAG
//  This is an automatically generated prolog.
//
//  $Source: src/include/usr/isteps/istep4list.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_ISTEP4LIST_H
#define __ISTEPS_ISTEP4LIST_H

/**
 * @file    istep4list.H
 *
 *  list of functions called by HWAS (ISTEP 4) - "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>

namespace   INITSERVICE
{

/**
 * @note    IStep definition for for Hardware Availability Service (HWAS)
 *
 *  1.  Initialize Target States
 *      1.POWERED_ON=true
 *      2.PRESENT=false
 *      3.FUNCTIONAL=false
 *      4.CHANGED_SINCE_LAST_IPL
 *      5.GARD Level (4 bits)
 *      6.Others?
 *  2.  Call FSI module to "walk the bus" and collect presence information.
 *  3.  Call FSI module interface to collect presence information
 *  4.  Apply presence data: DD framework (Call loaded device drivers)
 *  5.  Apply PR keyword data
 *  6.  Apply Partial Bad data (call Partial Bad module)
 *  7.  Apply GARD data (call GARD module)
 *
 */
const   TaskInfo    g_istep04[]  =   {

        {
                ISTEPNAME(4,0,"init_target_states"),    // substep name
                HWAS::init_target_states,               // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                   // error id for istep
                }
        },
        {
                ISTEPNAME(4,1,"init_fsi"),              // substep name
                HWAS::init_fsi,                         // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                   // error id for istep
                }
        },
        {
                ISTEPNAME(4,2,"apply_fsi_info"),        // substep name
                HWAS::apply_fsi_info,                   // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                   // error id for istep
                }
        },
        {
                ISTEPNAME(4,3,"apply_dd_presence"),     // substep name
                HWAS::apply_dd_presence,                // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                 // error id for istep
                }
        },
        {
                ISTEPNAME(4,4,"apply_pr_keyword_data"), // substep name
                HWAS::apply_pr_keyword_data,            // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                   // error id for istep
                }
        },
        {
                ISTEPNAME(4,5,"apply_partial_bad"),     // substep name
                HWAS::apply_partial_bad,                // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                   // error id for istep
                }
        },
        {
                ISTEPNAME(4, 6, "apply_gard"),          // substep name
                HWAS::apply_gard,                       // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                  // error id for istep
                }
        },
#if 0
        // NOT USED ANYMORE
        {
                ISTEP#NOTUSED#NAME(4,7,"testHWP"),      // substep name
                HWAS::testHWP,                          // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        ISTEP_ERRL_ID,                  // error id for istep
                }
        }
#endif

        //  END OF LIST!
};

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

};  // end namespace

#endif
OpenPOWER on IntegriCloud