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-espd_4510b / memory.h
blob0751d52e334014272c3bc675d940c38825dd3bae
1 /*
2 * linux/include/asm-armnommu/arch-espd_4510b/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
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 */