summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice/initsvcreasoncodes.H
blob: 02927682909429070056bd61928ef04765b46955 (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
/**
 * @file    initsvcreasoncodes.H
 *
 *  Detail all the possible reason codes for errorlog returns
 *
 */
#ifndef __INITSERVICE_RC_H
#define __INITSERVICE_RC_H

#include <hbotcompid.H>

namespace   INITSERVICE
{

/**
 * @enum    InitServiceModuleID
 *
 *  module id's used in returned errorlogs
 */
enum    InitServiceModuleID
{
    UNDEFINED_MODULE_ERRL_ID     =   0x00,
    BASE_INITSVC_ERRL_ID,
    START_TRACE_ERRL_ID,
    START_ERRL_ERRL_ID,
    START_XSCOMDD_ERRL_ID,
    START_PNORDD_ERRL_ID,
    START_EXTINITSVC_ERRL_ID,
    START_TARGETING_ERRL_ID,
    GET_MASTER_CHIP_TARGET_ERRL_ID,
    START_MAILBOXDD_ERRL_ID,
    START_SP_COMM_ERRL_ID,
    ENABLE_STREAMING_TRACE_ERRL_ID,
    START_PROGRESS_CODES_ERRL_ID,
    START_FSIDD_ERRL_ID,
    SETUP_SLAVE_LINKS_ERRL_ID,
    START_FSISCOM_ERRL_ID,
    START_FSI_II2C_ERRL_ID,
    START_HWP_ERRL_ID,
    READ_MAX_CONFIG_FROM_PNOR_ERRL_ID,
    APPLY_PRESENCE_DETECT_ERRL_ID,
    APPLY_PARTIAL_BAD_ERRL_ID,
    APPLY_GARD_ERRL_ID,
    COLLECT_HW_ERRL_IDEC_ERRL_ID,
    VERIFY_ERRL_IDEC_ERRL_ID,
    DISABLE_WATCHDOG_ERRL_ID,
    EXECUTE_ISTEPS_ERRL_ID,

    //  reserve some tasks for my unit tests...
    START_CXXTEST_ERRL_ID       =   0xf0,
    INIT_SVC_TEST1_ERRL_ID,
    INIT_SVC_TEST2_ERRL_ID,
    INIT_SVC_TEST3_ERRL_ID,
    INIT_SVC_TEST4_ERRL_ID,
    INIT_SVC_TEST5_ERRL_ID,

};


enum    InitServiceReasonCode
{
    START_TASK_FAILED           = INITSVC_COMP_ID | 0x01,
    INVALID_TASK_TYPE           = INITSVC_COMP_ID | 0x02,


};

};  // namespace    INITSERVICE

#endif
OpenPOWER on IntegriCloud