]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/x86/include/asm/pgtable-3level-defs.h
1 #ifndef _ASM_X86_PGTABLE_3LEVEL_DEFS_H
2 #define _ASM_X86_PGTABLE_3LEVEL_DEFS_H
5 #define SHARED_KERNEL_PMD (pv_info.shared_kernel_pmd)
7 #define SHARED_KERNEL_PMD 1
11 * PGDIR_SHIFT determines what a top-level page table entry can map
13 #define PGDIR_SHIFT 30
14 #define PTRS_PER_PGD 4
17 * PMD_SHIFT determines the size of the area a middle-level
21 #define PTRS_PER_PMD 512
24 * entries per page directory level
26 #define PTRS_PER_PTE 512
28 #endif /* _ASM_X86_PGTABLE_3LEVEL_DEFS_H */