diff options
Diffstat (limited to 'kernel/arch/mips/include/asm/mach-ar7/spaces.h')
-rw-r--r-- | kernel/arch/mips/include/asm/mach-ar7/spaces.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel/arch/mips/include/asm/mach-ar7/spaces.h b/kernel/arch/mips/include/asm/mach-ar7/spaces.h new file mode 100644 index 000000000..660ab64c0 --- /dev/null +++ b/kernel/arch/mips/include/asm/mach-ar7/spaces.h @@ -0,0 +1,25 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle + * Copyright (C) 2000, 2002 Maciej W. Rozycki + * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_AR7_SPACES_H +#define _ASM_AR7_SPACES_H + +/* + * This handles the memory map. + * We handle pages at KSEG0 for kernels with 32 bit address space. + */ +#define PAGE_OFFSET _AC(0x94000000, UL) +#define PHYS_OFFSET _AC(0x14000000, UL) + +#define UNCAC_BASE _AC(0xb4000000, UL) /* 0xa0000000 + PHYS_OFFSET */ +#define IO_BASE UNCAC_BASE + +#include <asm/mach-generic/spaces.h> + +#endif /* __ASM_AR7_SPACES_H */ |