]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/x86/include/asm/pgtable-3level_types.h
1 #ifndef _ASM_X86_PGTABLE_3LEVEL_DEFS_H
2 #define _ASM_X86_PGTABLE_3LEVEL_DEFS_H
5 #include <linux/types.h>
12 typedef u64 pgprotval_t
;
16 unsigned long pte_low
, pte_high
;
20 #endif /* !__ASSEMBLY__ */
22 #ifdef CONFIG_PARAVIRT
23 #define SHARED_KERNEL_PMD (pv_info.shared_kernel_pmd)
25 #define SHARED_KERNEL_PMD 1
29 * PGDIR_SHIFT determines what a top-level page table entry can map
31 #define PGDIR_SHIFT 30
32 #define PTRS_PER_PGD 4
35 * PMD_SHIFT determines the size of the area a middle-level
39 #define PTRS_PER_PMD 512
42 * entries per page directory level
44 #define PTRS_PER_PTE 512
47 #endif /* _ASM_X86_PGTABLE_3LEVEL_DEFS_H */