~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/alpha/include/asm/err_common.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*
  3  *      linux/include/asm-alpha/err_common.h
  4  *
  5  *      Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation)
  6  *
  7  *      Contains declarations and macros to support Alpha error handling
  8  *      implementations.
  9  */
 10 
 11 #ifndef __ALPHA_ERR_COMMON_H
 12 #define __ALPHA_ERR_COMMON_H 1
 13 
 14 /*
 15  * SCB Vector definitions
 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  * Disposition definitions for logout frame parser
 25  */
 26 #define MCHK_DISPOSITION_UNKNOWN_ERROR          0x00
 27 #define MCHK_DISPOSITION_REPORT                 0x01
 28 #define MCHK_DISPOSITION_DISMISS                0x02
 29 
 30 /*
 31  * Error Log definitions
 32  */
 33 /*
 34  * Types
 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;             /* length of header (in bytes)  */
 83         u16 class;              /* header class and type...     */
 84         u16 type;               /* ...determine content         */
 85         u16 revision;           /* header revision              */
 86         union {
 87                 struct {        /* Class 5, Type 1 - System Error       */
 88                         u32 frame_length;
 89                         u32 frame_packet_count;                 
 90                 } sys_err;                      
 91                 struct {        /* Class 5, Type 2 - System Event       */
 92                         union el_timestamp timestamp;
 93                         u32 frame_length;
 94                         u32 frame_packet_count;                 
 95                 } sys_event;
 96                 struct {        /* Class 5, Type 3 - Double Error Halt  */
 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 {        /* Clasee 5, Type 19 - Logout Frame Header */
104                         u32 frame_length;
105                         u32 frame_flags;
106                         u32 cpu_offset; 
107                         u32 system_offset;
108                 } logout_header;
109                 struct {        /* Class 12 - Regatta                   */
110                         u64 cpuid;
111                         u64 data_start[1];
112                 } regatta_frame;
113                 struct {        /* Raw                                  */
114                         u64 data_start[1];
115                 } raw;
116         } by_type;
117 };
118 
119 #endif /* __ALPHA_ERR_COMMON_H */
120 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php