62 lines
2.7 KiB
C
62 lines
2.7 KiB
C
|
/****************************************************************************
|
||
|
****************************************************************************
|
||
|
***
|
||
|
*** This header was automatically generated from a Linux kernel header
|
||
|
*** of the same name, to make information necessary for userspace to
|
||
|
*** call into the kernel available to libc. It contains only constants,
|
||
|
*** structures, and macros generated from the original header, and thus,
|
||
|
*** contains no copyrightable information.
|
||
|
***
|
||
|
*** To edit the content of this header, modify the corresponding
|
||
|
*** source file (e.g. under external/kernel-headers/original/) then
|
||
|
*** run bionic/libc/kernel/tools/update_all.py
|
||
|
***
|
||
|
*** Any manual change here will be lost the next time this script will
|
||
|
*** be run. You've been warned!
|
||
|
***
|
||
|
****************************************************************************
|
||
|
****************************************************************************/
|
||
|
#ifndef __ASM_MIPS_DEC_KN02XA_H
|
||
|
#define __ASM_MIPS_DEC_KN02XA_H
|
||
|
#include <asm/dec/ioasic_addrs.h>
|
||
|
#define KN02XA_SLOT_BASE 0x1c000000
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_MER 0x0c400000
|
||
|
#define KN02XA_MSR 0x0c800000
|
||
|
#define KN02XA_MEM_CONF 0x0e000000
|
||
|
#define KN02XA_EAR 0x0e000004
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_BOOT0 0x0e000008
|
||
|
#define KN02XA_MEM_INTR 0x0e00000c
|
||
|
#define KN02XA_MER_RES_28 (0xf<<28)
|
||
|
#define KN02XA_MER_RES_17 (0x3ff<<17)
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_MER_PAGERR (1<<16)
|
||
|
#define KN02XA_MER_TRANSERR (1<<15)
|
||
|
#define KN02XA_MER_PARDIS (1<<14)
|
||
|
#define KN02XA_MER_SIZE (1<<13)
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_MER_RES_12 (1<<12)
|
||
|
#define KN02XA_MER_BYTERR (0xf<<8)
|
||
|
#define KN02XA_MER_BYTERR_3 (0x8<<8)
|
||
|
#define KN02XA_MER_BYTERR_2 (0x4<<8)
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_MER_BYTERR_1 (0x2<<8)
|
||
|
#define KN02XA_MER_BYTERR_0 (0x1<<8)
|
||
|
#define KN02XA_MER_RES_0 (0xff<<0)
|
||
|
#define KN02XA_MSR_RES_27 (0x1f<<27)
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_MSR_RES_14 (0x7<<14)
|
||
|
#define KN02XA_MSR_SIZE (1<<13)
|
||
|
#define KN02XA_MSR_RES_0 (0x1fff<<0)
|
||
|
#define KN02XA_EAR_RES_29 (0x7<<29)
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
#define KN02XA_EAR_ADDRESS (0x7ffffff<<2)
|
||
|
#define KN02XA_EAR_RES_0 (0x3<<0)
|
||
|
#ifndef __ASSEMBLY__
|
||
|
#include <linux/interrupt.h>
|
||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||
|
struct pt_regs;
|
||
|
#endif
|
||
|
#endif
|