1 /****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19 #ifndef __ASM_MIPS_DEC_KN02XA_H
20 #define __ASM_MIPS_DEC_KN02XA_H
21 #include <asm/dec/ioasic_addrs.h>
22 #define KN02XA_SLOT_BASE 0x1c000000
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define KN02XA_MER 0x0c400000
25 #define KN02XA_MSR 0x0c800000
26 #define KN02XA_MEM_CONF 0x0e000000
27 #define KN02XA_EAR 0x0e000004
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define KN02XA_BOOT0 0x0e000008
30 #define KN02XA_MEM_INTR 0x0e00000c
31 #define KN02XA_MER_RES_28 (0xf<<28)
32 #define KN02XA_MER_RES_17 (0x3ff<<17)
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define KN02XA_MER_PAGERR (1<<16)
35 #define KN02XA_MER_TRANSERR (1<<15)
36 #define KN02XA_MER_PARDIS (1<<14)
37 #define KN02XA_MER_SIZE (1<<13)
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define KN02XA_MER_RES_12 (1<<12)
40 #define KN02XA_MER_BYTERR (0xf<<8)
41 #define KN02XA_MER_BYTERR_3 (0x8<<8)
42 #define KN02XA_MER_BYTERR_2 (0x4<<8)
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define KN02XA_MER_BYTERR_1 (0x2<<8)
45 #define KN02XA_MER_BYTERR_0 (0x1<<8)
46 #define KN02XA_MER_RES_0 (0xff<<0)
47 #define KN02XA_MSR_RES_27 (0x1f<<27)
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define KN02XA_MSR_RES_14 (0x7<<14)
50 #define KN02XA_MSR_SIZE (1<<13)
51 #define KN02XA_MSR_RES_0 (0x1fff<<0)
52 #define KN02XA_EAR_RES_29 (0x7<<29)
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define KN02XA_EAR_ADDRESS (0x7ffffff<<2)
55 #define KN02XA_EAR_RES_0 (0x3<<0)
56 #ifndef __ASSEMBLY__
57 #include <linux/interrupt.h>
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 struct pt_regs;
60 #endif
61 #endif