Go to the documentation of this file.
10 #ifndef _ASM_MACH_GENERIC_SPACES_H
11 #define _ASM_MACH_GENERIC_SPACES_H
13 #include <linux/const.h>
19 #define PHYS_OFFSET _AC(0, UL)
24 #define CAC_BASE _AC(0x80000000, UL)
25 #define IO_BASE _AC(0xa0000000, UL)
26 #define UNCAC_BASE _AC(0xa0000000, UL)
29 #define MAP_BASE _AC(0xc0000000, UL)
36 #define HIGHMEM_START _AC(0x20000000, UL)
44 #ifdef CONFIG_DMA_NONCOHERENT
45 #define CAC_BASE _AC(0x9800000000000000, UL)
47 #define CAC_BASE _AC(0xa800000000000000, UL)
52 #define IO_BASE _AC(0x9000000000000000, UL)
56 #define UNCAC_BASE _AC(0x9000000000000000, UL)
60 #define MAP_BASE _AC(0xc000000000000000, UL)
69 #define HIGHMEM_START (_AC(1, UL) << _AC(59, UL))
72 #define TO_PHYS(x) ( ((x) & TO_PHYS_MASK))
73 #define TO_CAC(x) (CAC_BASE | ((x) & TO_PHYS_MASK))
74 #define TO_UNCAC(x) (UNCAC_BASE | ((x) & TO_PHYS_MASK))
82 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
86 #define FIXADDR_TOP ((unsigned long)(long)(int)0xfffe0000)