2 * linux/include/asm-alpha/err_common.h
4 * Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation)
6 * Contains declarations and macros to support Alpha error handling
10 #ifndef __ALPHA_ERR_COMMON_H
11 #define __ALPHA_ERR_COMMON_H 1
14 * SCB Vector definitions
16 #define SCB_Q_SYSERR 0x620
17 #define SCB_Q_PROCERR 0x630
18 #define SCB_Q_SYSMCHK 0x660
19 #define SCB_Q_PROCMCHK 0x670
20 #define SCB_Q_SYSEVENT 0x680
23 * Disposition definitions for logout frame parser
25 #define MCHK_DISPOSITION_UNKNOWN_ERROR 0x00
26 #define MCHK_DISPOSITION_REPORT 0x01
27 #define MCHK_DISPOSITION_DISMISS 0x02
30 * Error Log definitions
36 #define EL_CLASS__TERMINATION (0)
37 # define EL_TYPE__TERMINATION__TERMINATION (0)
38 #define EL_CLASS__HEADER (5)
39 # define EL_TYPE__HEADER__SYSTEM_ERROR_FRAME (1)
40 # define EL_TYPE__HEADER__SYSTEM_EVENT_FRAME (2)
41 # define EL_TYPE__HEADER__HALT_FRAME (3)
42 # define EL_TYPE__HEADER__LOGOUT_FRAME (19)
43 #define EL_CLASS__GENERAL_NOTIFICATION (9)
44 #define EL_CLASS__PCI_ERROR_FRAME (11)
45 #define EL_CLASS__REGATTA_FAMILY (12)
46 # define EL_TYPE__REGATTA__PROCESSOR_ERROR_FRAME (1)
47 # define EL_TYPE__REGATTA__SYSTEM_ERROR_FRAME (2)
48 # define EL_TYPE__REGATTA__ENVIRONMENTAL_FRAME (3)
49 # define EL_TYPE__REGATTA__TITAN_PCHIP0_EXTENDED (8)
50 # define EL_TYPE__REGATTA__TITAN_PCHIP1_EXTENDED (9)
51 # define EL_TYPE__REGATTA__TITAN_MEMORY_EXTENDED (10)
52 # define EL_TYPE__REGATTA__PROCESSOR_DBL_ERROR_HALT (11)
53 # define EL_TYPE__REGATTA__SYSTEM_DBL_ERROR_HALT (12)
54 #define EL_CLASS__PAL (14)
55 # define EL_TYPE__PAL__LOGOUT_FRAME (1)
56 # define EL_TYPE__PAL__EV7_PROCESSOR (4)
57 # define EL_TYPE__PAL__EV7_ZBOX (5)
58 # define EL_TYPE__PAL__EV7_RBOX (6)
59 # define EL_TYPE__PAL__EV7_IO (7)
60 # define EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE (10)
61 # define EL_TYPE__PAL__ENV__AIRMOVER_FAN (11)
62 # define EL_TYPE__PAL__ENV__VOLTAGE (12)
63 # define EL_TYPE__PAL__ENV__INTRUSION (13)
64 # define EL_TYPE__PAL__ENV__POWER_SUPPLY (14)
65 # define EL_TYPE__PAL__ENV__LAN (15)
66 # define EL_TYPE__PAL__ENV__HOT_PLUG (16)
81 u16 length; /* length of header (in bytes) */
82 u16 class; /* header class and type... */
83 u16 type; /* ...determine content */
84 u16 revision; /* header revision */
86 struct { /* Class 5, Type 1 - System Error */
88 u32 frame_packet_count;
90 struct { /* Class 5, Type 2 - System Event */
91 union el_timestamp timestamp;
93 u32 frame_packet_count;
95 struct { /* Class 5, Type 3 - Double Error Halt */
98 union el_timestamp timestamp;
100 u32 frame_packet_count;
102 struct { /* Clasee 5, Type 19 - Logout Frame Header */
108 struct { /* Class 12 - Regatta */
118 #endif /* __ALPHA_ERR_COMMON_H */