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-lpc22xx / memory.h
blobd6722da76ed7a2f66d3de94c7d726b34eae33da0
1 /*
2 * linux/include/asm-arm/arch-lpc22xx/memory.h
4 * Copyright (C) 2004 Philips semiconductors
5 */
7 #ifndef __ASM_ARCH_MEMORY_H
8 #define __ASM_ARCH_MEMORY_H
10 #define TASK_SIZE (0x81a00000)
11 #define TASK_SIZE_26 TASK_SIZE
12 #define TASK_UNMAPPED_BASE (0x0)
14 #define PHYS_OFFSET (CONFIG_DRAM_BASE)
15 #define PAGE_OFFSET (PHYS_OFFSET)
16 #define END_MEM (CONFIG_DRAM_BASE + CONFIG_DRAM_SIZE)
18 #define __virt_to_phys(vpage) ((unsigned long) (vpage))
19 #define __phys_to_virt(ppage) ((void *) (ppage))
20 #define __virt_to_bus(vpage) ((unsigned long) (vpage))
21 #define __bus_to_virt(ppage) ((void *) (ppage))
23 #endif /* __ASM_ARCH_MEMORY_H */