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-p2001 / memory.h
blob1f60d2e8e620bc5de0234d1e89e9df3daded1069
1 /*
2 * linux/include/asm-arm/arch-p2001/memory.h
4 * Copyright (C) 2004 Tobias Lorenz
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __ASM_ARCH_MEMORY_H
12 #define __ASM_ARCH_MEMORY_H
14 #define TASK_SIZE (0x01a00000UL)
15 #define TASK_SIZE_26 TASK_SIZE
18 * This decides where the kernel will search for a free chunk of vm
19 * space during mmap's.
22 #define PHYS_OFFSET (CONFIG_DRAM_BASE)
23 #define PAGE_OFFSET (PHYS_OFFSET)
24 #define END_MEM (CONFIG_DRAM_BASE + CONFIG_DRAM_SIZE)
26 #define __virt_to_phys(vpage) ((unsigned long) (vpage))
27 #define __phys_to_virt(ppage) ((void *) (ppage))
28 #define __virt_to_bus(vpage) ((unsigned long) (vpage))
29 #define __bus_to_virt(ppage) ((void *) (ppage))
31 #endif /* __ASM_ARCH_MEMORY_H */