summaryrefslogtreecommitdiffstats
path: root/src/occ/thread/thread_service_codes.h
blob: 1569fb7aa1e742a4b9c117f90bda9b97b9fa1be8 (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
/******************************************************************************
// @file thread_service_codes.h
// @brief Error codes for thread component.
*
*  Note that the thread component will not actually generate errors
*  using the thread component.  This is due to the fact that  will
*  use trace so therefore we can induce non-ending recursion if trace
*  were to use ERRL.
*
*  A trace failure is not a system critical failure which is why we
*  can get away with it not reporting errors.
*
*/
/******************************************************************************
 *
 *       @page ChangeLogs Change Logs
 *       @section _thread_service_codes_h thread_service_codes.h
 *       @verbatim
 *
 *   Flag    Def/Fea    Userid    Date        Description
 *   ------- ---------- --------  ----------  ----------------------------------
 *                      TEAM      06/16/2010  Port  
 *   @rc003             rickylie  02/03/2012  Verify & Clean Up OCC Headers & Comments
 *   @pb00E             pbavari   03/11/2012  Added correct include file
 *   @jh005  894560     joshych   08/14/2013  Create call home data logs every 24 hours
 *   @gs020  909320     gjsilva   12/12/2013  Support for VR_FAN thermal control
 *   @gs021  909855     gjsilva   12/18/2013  Support for processor OT condition
 *   @at023  910877     alvinwan  01/09/2014  Excessive fan increase requests error for mfg
 *   @fk006  914801     fmkassem  02/05/2014  Remove reason code list and merge with occ_service_codes list
 *
 *  @endverbatim
 *
 *///*************************************************************************/
 
#ifndef _THREAD_SERVICE_CODES_H_
#define _THREAD_SERVICE_CODES_H_

//*************************************************************************
// Includes
//*************************************************************************
#include <comp_ids.h>

//*************************************************************************
// Externs
//*************************************************************************

//*************************************************************************
// Macros
//*************************************************************************

//*************************************************************************
// Defines/Enums
//*************************************************************************
enum thrdModuleId
{
    THRD_MID_INIT_THREAD_SCHDLR     =  THRD_COMP_ID | 0x00,
    THRD_MID_THREAD_SWAP_CALLBACK   =  THRD_COMP_ID | 0x01,
    THRD_MID_GEN_CALLHOME_LOG       =  THRD_COMP_ID | 0x02,
    THRD_THERMAL_VRM_FAN_CONTROL    =  THRD_COMP_ID | 0x03,
    THRD_THERMAL_MAIN               =  THRD_COMP_ID | 0x04, // @at023a
};

//*************************************************************************
// Structures
//*************************************************************************

//*************************************************************************
// Globals
//*************************************************************************

//*************************************************************************
// Function Prototypes
//*************************************************************************

//*************************************************************************
// Functions
//*************************************************************************

#endif /* #ifndef _THREAD_SERVICE_CODES_H_ */
OpenPOWER on IntegriCloud