add ar7-2.6 fixes by Stefan Weil
[openwrt/openwrt.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 #define CAC_BASE 0x80000000
14 #define IO_BASE 0xa0000000
15 #define UNCAC_BASE 0xa0000000
16 #define MAP_BASE 0xc0000000
17
18 /*
19 * This handles the memory map.
20 * We handle pages at KSEG0 for kernels with 32 bit address space.
21 */
22 #define PAGE_OFFSET 0x94000000UL
23 #define PHYS_OFFSET 0x14000000UL
24
25 /*
26 * Memory above this physical address will be considered highmem.
27 */
28 #ifndef HIGHMEM_START
29 #define HIGHMEM_START 0x40000000UL
30 #endif
31
32 #endif /* __ASM_AR7_SPACES_H */