Go to the documentation of this file. 1 #ifndef _ASM_X86_PGTABLE_32_DEFS_H
2 #define _ASM_X86_PGTABLE_32_DEFS_H
11 # define PMD_SIZE (1UL << PMD_SHIFT)
12 # define PMD_MASK (~(PMD_SIZE - 1))
17 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
18 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
27 #define VMALLOC_OFFSET (8 * 1024 * 1024)
33 #define VMALLOC_START ((unsigned long)high_memory + VMALLOC_OFFSET)
35 #define LAST_PKMAP 512
37 #define LAST_PKMAP 1024
40 #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE * (LAST_PKMAP + 1)) \
44 # define VMALLOC_END (PKMAP_BASE - 2 * PAGE_SIZE)
46 # define VMALLOC_END (FIXADDR_START - 2 * PAGE_SIZE)
49 #define MODULES_VADDR VMALLOC_START
50 #define MODULES_END VMALLOC_END
51 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
53 #define MAXMEM (VMALLOC_END - PAGE_OFFSET - __VMALLOC_RESERVE)