summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice/initsvcreasoncodes.H
blob: 4ff3fb07652b054237bf18ae385668ccaff2cc31 (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
//  IBM_PROLOG_BEGIN_TAG
//  This is an automatically generated prolog.
//
//  $Source: src/include/usr/initservice/initsvcreasoncodes.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
/**
 * @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,
    START_VFS_ERRL_ID,

    ISTEP_1_ERRL_ID,
    ISTEP_2_ERRL_ID,
    ISTEP_3_ERRL_ID,
    ISTEP_4_ERRL_ID,
    ISTEP_5_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,
    START_FN_FAILED             =   INITSVC_COMP_ID | 0x03,
    NULL_FN_PTR                 =   INITSVC_COMP_ID | 0x04,


};

};  // namespace    INITSERVICE

#endif
OpenPOWER on IntegriCloud