2 * linux/include/asm-arm/arch-shark/memory.h
7 * linux/include/asm-arm/arch-ebsa110/memory.h
8 * Copyright (c) 1996-1999 Russell King.
10 #ifndef __ASM_ARCH_MEMORY_H
11 #define __ASM_ARCH_MEMORY_H
16 #define TASK_SIZE (0xbf000000UL)
17 #define TASK_SIZE_26 (0x04000000UL)
20 * This decides where the kernel will search for a free chunk of vm
21 * space during mmap's.
23 #define TASK_UNMAPPED_BASE (0x40000000)
28 #define PAGE_OFFSET (0xC0000000UL)
29 #define PHYS_OFFSET (0x08000000UL)
31 #define __virt_to_phys__is_a_macro
32 #define __phys_to_virt__is_a_macro
33 #define __virt_to_phys(vpage) (vpage - PAGE_OFFSET + PHYS_OFFSET)
34 #define __phys_to_virt(ppage) (ppage - PHYS_OFFSET + PAGE_OFFSET)
36 #define __virt_to_bus__is_a_macro
37 #define __virt_to_bus(x) __virt_to_phys(x)
38 #define __bus_to_virt__is_a_macro
39 #define __bus_to_virt(x) __phys_to_virt(x)