Go to the documentation of this file.
16 #ifndef __ASM_PGTABLE_3LEVEL_HWDEF_H
17 #define __ASM_PGTABLE_3LEVEL_HWDEF_H
25 #define PTRS_PER_PTE 512
26 #define PTRS_PER_PMD 512
27 #define PTRS_PER_PGD 512
32 #define PGDIR_SHIFT 30
33 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
34 #define PGDIR_MASK (~(PGDIR_SIZE-1))
40 #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT)
41 #define PMD_MASK (~(PMD_SIZE-1))
46 #define SECTION_SHIFT 21
47 #define SECTION_SIZE (_AC(1, UL) << SECTION_SHIFT)
48 #define SECTION_MASK (~(SECTION_SIZE-1))