Go to the documentation of this file. 1 #ifndef __ASM_SH_PGTABLE_2LEVEL_H
2 #define __ASM_SH_PGTABLE_2LEVEL_H
9 #define PAGETABLE_LEVELS 2
12 #define PTE_MAGNITUDE 2
14 #define PTE_SHIFT PAGE_SHIFT
15 #define PTE_BITS (PTE_SHIFT - PTE_MAGNITUDE)
18 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS)
20 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE))
21 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)