2 * linux/include/asm-arm/arch-arc/memory.h
4 * Copyright (c) 1996-1999 Russell King.
7 * 22-Nov-1996 RMK Created
8 * 21-Mar-1999 RMK Renamed to memory.h
9 * RMK Moved PAGE_OFFSET and TASK_SIZE here
11 #ifndef __ASM_ARCH_MEMORY_H
12 #define __ASM_ARCH_MEMORY_H
17 #define TASK_SIZE (0x01a00000UL)
18 #define TASK_SIZE_26 (0x01a00000UL)
23 #define PAGE_OFFSET (0x02000000UL)
24 #define PHYS_OFFSET (0x02000000UL)
26 #define __virt_to_phys__is_a_macro
27 #define __virt_to_phys(vpage) vpage
28 #define __phys_to_virt__is_a_macro
29 #define __phys_to_virt(ppage) ppage
32 * Virtual view <-> DMA view memory address translations
33 * virt_to_bus: Used to translate the virtual address to an
34 * address suitable to be passed to set_dma_addr
35 * bus_to_virt: Used to convert an address for DMA operations
36 * to an address that the kernel can use.
38 #define __virt_to_bus__is_a_macro
39 #define __virt_to_bus(x) (x)
40 #define __bus_to_virt__is_a_macro
41 #define __bus_to_virt(x) (x)