blob: 0272514da90cf293ae4c5cc5230f98f324eefe53 [file] [log] [blame]
Raghu Gandham82fa43f2012-03-27 11:37:17 -07001/****************************************************************************
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 */
Elliott Hughesc95eb572013-01-29 18:15:55 -080024#define KN02XA_MER 0x0c400000
25#define KN02XA_MSR 0x0c800000
26#define KN02XA_MEM_CONF 0x0e000000
27#define KN02XA_EAR 0x0e000004
Raghu Gandham82fa43f2012-03-27 11:37:17 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080029#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)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080034#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)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080039#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)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080044#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)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080049#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)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080054#define KN02XA_EAR_ADDRESS (0x7ffffff<<2)
55#define KN02XA_EAR_RES_0 (0x3<<0)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070056#ifndef __ASSEMBLY__
57#include <linux/interrupt.h>
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59struct pt_regs;
60#endif
61#endif