MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-atmel / memory.h
blob10a4900e046e441f63c89d4a0f0c697de65ca32b
1 /*
2 * linux/include/asm-arm/arch-atmel/memory.h
4 * Copyright (C) 2003 SAMSUNG ELECTRONICS
5 * Hyok S. Choi <hyok.choi@samsung.com>
6 */
8 #ifndef __ASM_ARCH_MEMORY_H
9 #define __ASM_ARCH_MEMORY_H
11 #define TASK_SIZE (0x01a00000UL)
12 #define TASK_SIZE_26 TASK_SIZE
15 * This decides where the kernel will search for a free chunk of vm
16 * space during mmap's.
19 #define PHYS_OFFSET (CONFIG_DRAM_BASE)
20 #define PAGE_OFFSET (PHYS_OFFSET)
21 #define END_MEM (CONFIG_DRAM_BASE + CONFIG_DRAM_SIZE)
23 #define __virt_to_phys(vpage) ((unsigned long) (vpage))
24 #define __phys_to_virt(ppage) ((unsigned long) (ppage))
25 #define __virt_to_bus(vpage) ((unsigned long) (vpage))
26 #define __bus_to_virt(ppage) ((unsigned long) (ppage))
28 #endif /* __ASM_ARCH_MEMORY_H */