1
2
3
4
5
6
7
8
9
10
11 #ifndef __ALPHA_ERR_COMMON_H
12 #define __ALPHA_ERR_COMMON_H 1
13
14
15
16
17 #define SCB_Q_SYSERR 0x620
18 #define SCB_Q_PROCERR 0x630
19 #define SCB_Q_SYSMCHK 0x660
20 #define SCB_Q_PROCMCHK 0x670
21 #define SCB_Q_SYSEVENT 0x680
22
23
24
25
26 #define MCHK_DISPOSITION_UNKNOWN_ERROR 0x00
27 #define MCHK_DISPOSITION_REPORT 0x01
28 #define MCHK_DISPOSITION_DISMISS 0x02
29
30
31
32
33
34
35
36
37 #define EL_CLASS__TERMINATION (0)
38 # define EL_TYPE__TERMINATION__TERMINATION (0)
39 #define EL_CLASS__HEADER (5)
40 # define EL_TYPE__HEADER__SYSTEM_ERROR_FRAME (1)
41 # define EL_TYPE__HEADER__SYSTEM_EVENT_FRAME (2)
42 # define EL_TYPE__HEADER__HALT_FRAME (3)
43 # define EL_TYPE__HEADER__LOGOUT_FRAME (19)
44 #define EL_CLASS__GENERAL_NOTIFICATION (9)
45 #define EL_CLASS__PCI_ERROR_FRAME (11)
46 #define EL_CLASS__REGATTA_FAMILY (12)
47 # define EL_TYPE__REGATTA__PROCESSOR_ERROR_FRAME (1)
48 # define EL_TYPE__REGATTA__SYSTEM_ERROR_FRAME (2)
49 # define EL_TYPE__REGATTA__ENVIRONMENTAL_FRAME (3)
50 # define EL_TYPE__REGATTA__TITAN_PCHIP0_EXTENDED (8)
51 # define EL_TYPE__REGATTA__TITAN_PCHIP1_EXTENDED (9)
52 # define EL_TYPE__REGATTA__TITAN_MEMORY_EXTENDED (10)
53 # define EL_TYPE__REGATTA__PROCESSOR_DBL_ERROR_HALT (11)
54 # define EL_TYPE__REGATTA__SYSTEM_DBL_ERROR_HALT (12)
55 #define EL_CLASS__PAL (14)
56 # define EL_TYPE__PAL__LOGOUT_FRAME (1)
57 # define EL_TYPE__PAL__EV7_PROCESSOR (4)
58 # define EL_TYPE__PAL__EV7_ZBOX (5)
59 # define EL_TYPE__PAL__EV7_RBOX (6)
60 # define EL_TYPE__PAL__EV7_IO (7)
61 # define EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE (10)
62 # define EL_TYPE__PAL__ENV__AIRMOVER_FAN (11)
63 # define EL_TYPE__PAL__ENV__VOLTAGE (12)
64 # define EL_TYPE__PAL__ENV__INTRUSION (13)
65 # define EL_TYPE__PAL__ENV__POWER_SUPPLY (14)
66 # define EL_TYPE__PAL__ENV__LAN (15)
67 # define EL_TYPE__PAL__ENV__HOT_PLUG (16)
68
69 union el_timestamp {
70 struct {
71 u8 second;
72 u8 minute;
73 u8 hour;
74 u8 day;
75 u8 month;
76 u8 year;
77 } b;
78 u64 as_int;
79 };
80
81 struct el_subpacket {
82 u16 length;
83 u16 class;
84 u16 type;
85 u16 revision;
86 union {
87 struct {
88 u32 frame_length;
89 u32 frame_packet_count;
90 } sys_err;
91 struct {
92 union el_timestamp timestamp;
93 u32 frame_length;
94 u32 frame_packet_count;
95 } sys_event;
96 struct {
97 u16 halt_code;
98 u16 reserved;
99 union el_timestamp timestamp;
100 u32 frame_length;
101 u32 frame_packet_count;
102 } err_halt;
103 struct {
104 u32 frame_length;
105 u32 frame_flags;
106 u32 cpu_offset;
107 u32 system_offset;
108 } logout_header;
109 struct {
110 u64 cpuid;
111 u64 data_start[1];
112 } regatta_frame;
113 struct {
114 u64 data_start[1];
115 } raw;
116 } by_type;
117 };
118
119 #endif