367fe2d344b731fd4ae4bd26c7d28ce2a23291a5
[openwrt/svn-archive/archive.git] / target / linux / ar7-2.6 / files / include / asm-mips / ar7 / spaces.h
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle
7 * Copyright (C) 2000, 2002 Maciej W. Rozycki
8 * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc.
9 */
10 #ifndef _ASM_AR7_SPACES_H
11 #define _ASM_AR7_SPACES_H
12
13
14 #define CAC_BASE 0x80000000
15 #define IO_BASE 0xa0000000
16 #define UNCAC_BASE 0xa0000000
17 #define MAP_BASE 0xc0000000
18
19 /*
20 * This handles the memory map.
21 * We handle pages at KSEG0 for kernels with 32 bit address space.
22 */
23 #define PAGE_OFFSET 0x80000000UL
24 #define ARCH_PFN_OFFSET (0x14000000 >> PAGE_SHIFT)
25
26 /*
27 * Memory above this physical address will be considered highmem.
28 */
29 #ifndef HIGHMEM_START
30 #define HIGHMEM_START 0x40000000UL
31 #endif
32
33 #endif /* __ASM_AR7_SPACES_H */