summaryrefslogtreecommitdiffstats
path: root/src/include/usr/isteps/istep4list.H
blob: 4aa29e87e71f42babe6e742426a37a1abcbcc836 (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
//  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_istep4[]  =   {

        {
                ISTEPNAME(4,0,"init_target_states"),    // substep name
                HWAS::init_target_states,               // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_1_ERRL_ID,                 // module id
                }
        },
        {
                ISTEPNAME(4,1,"init_fsi"),              // substep name
                HWAS::init_fsi,                         // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_2_ERRL_ID,                 // module id
                }
        },
        {
                ISTEPNAME(4,2,"apply_fsi_info"),        // substep name
                HWAS::apply_fsi_info,                   // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_3_ERRL_ID,                 // module id
                }
        },
        {
                ISTEPNAME(4,3,"apply_dd_presence"),     // substep name
                HWAS::apply_dd_presence,                // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_5_ERRL_ID,                 // module id
                }
        },
        {
                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
                        HWAS_6_ERRL_ID,                 // module id
                }
        },
        {
                ISTEPNAME(4,5,"apply_partial_bad"),     // substep name
                HWAS::apply_partial_bad,                // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_7_ERRL_ID,                 // module id
                }
        },
        {
                ISTEPNAME(4, 6, "apply_gard"),            // substep name
                HWAS::apply_gard,                       // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_8_ERRL_ID,                 // module id
                }
        },
        {
                ISTEPNAME(4,7,"testHWP"),               // substep name
                HWAS::testHWP,                          // pointer to fn
                {
                        START_FN,                       // task type
                        EXT_IMAGE,                      // Extended Module
                        HWAS_9_ERRL_ID,                 // module id
                }
        }

        //  END OF LIST!
};

// make a struct from the above with the number of items included
const   ExtTaskInfo g_istep4TaskList    =   {
        g_istep4,
        ( sizeof(g_istep4)/sizeof(TaskInfo) )
};

};  // end namespace

#endif
OpenPOWER on IntegriCloud