blob: 4c01c2180e2ac48e33d6224c23ff62d83580fd82 (
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
|
/*
* @file: ppe/sbe/sbefw/sbestates.H
*
* @brief This file contains interfaces pertaining to SBE state/role management
*
*/
#ifndef __SBEFW_SBESTATES_H
#define __SBEFW_SBESTATES_H
/**
* @brief An enumeration of all SBE states
*
*/
enum sbeState
{
SBE_STATE_UNKNOWN = 0, // Unkown, initial state
SBE_STATE_FFDC = 1, // Waiting for FFDC collection after a reset
SBE_STATE_IPLING = 2, // IPL'ing - autonomous mode (transient)
SBE_STATE_ISTEP = 3, // ISTEP - Running IPL by steps (transient)
SBE_STATE_RUNTIME = 4, // SBE Runtime
SBE_STATE_DUMP = 5, // Dumping (transient?)
SBE_STATE_MPIPL = 6, // MPIPL (transient)
SBE_STATE_FAILURE = 7, // Internal SBE failure
SBE_STATE_ABORT = 8, // SBE was asked to to abort - need reset to get out
SBE_STATE_QUIESCE = 0xF, // Final state - needs SBE reset to get out
};
enum sbeRole
{
SBE_ROLE_MASTER = 0,
SBE_ROLE_SLAVE = 1
};
extern sbeRole g_sbeRole;
#endif //__SBEFW_SBESTATES_H
|