Go to the documentation of this file.
12 #ifndef _ASM_MEM_LAYOUT_H
13 #define _ASM_MEM_LAYOUT_H
16 #define __UL(X) ((unsigned long) (X))
27 #define PAGE_SIZE (1UL << PAGE_SHIFT)
29 #define PAGE_SIZE (1 << PAGE_SHIFT)
32 #define PAGE_MASK (~(PAGE_SIZE-1))
38 #define ARCH_DMA_MINALIGN L1_CACHE_BYTES
39 #define ARCH_SLAB_MINALIGN L1_CACHE_BYTES
45 #define PAGE_OFFSET ((unsigned long) &__page_offset)
50 #define KERNEL_LOWMEM_START __UL(0xc0000000)
51 #define KERNEL_LOWMEM_END __UL(0xd0000000)
52 #define VMALLOC_START __UL(0xd0000000)
53 #define VMALLOC_END __UL(0xd8000000)
54 #define PKMAP_BASE __UL(0xd8000000)
55 #define PKMAP_END __UL(0xdc000000)
56 #define KMAP_ATOMIC_SECONDARY_FRAME __UL(0xdc000000)
57 #define KMAP_ATOMIC_PRIMARY_FRAME __UL(0xdd000000)
61 #define KERNEL_IO_START __UL(0xe0000000)
68 #define BRK_BASE __UL(2 * 1024 * 1024 + PAGE_SIZE)
69 #define STACK_TOP __UL(2 * 1024 * 1024)
70 #define STACK_TOP_MAX __UL(0xc0000000)
74 #define TASK_SIZE (PAGE_OFFSET)
76 #define TASK_SIZE __UL(0xFFFFFFFFUL)
80 #ifdef CONFIG_BINFMT_ELF_FDPIC
81 #define TASK_UNMAPPED_BASE __UL(16 * 1024 * 1024)
83 #define TASK_UNMAPPED_BASE __UL(TASK_SIZE / 3)