[PATCH] i386: iOPL handling for paravirt guests
[wrt350n-kernel.git] / include / asm-i386 / pgtable-3level-defs.h
blobeb3a1ea88671a1f2bc96600d755e7e9c9c9cfb8a
1 #ifndef _I386_PGTABLE_3LEVEL_DEFS_H
2 #define _I386_PGTABLE_3LEVEL_DEFS_H
4 /*
5 * PGDIR_SHIFT determines what a top-level page table entry can map
6 */
7 #define PGDIR_SHIFT 30
8 #define PTRS_PER_PGD 4
11 * PMD_SHIFT determines the size of the area a middle-level
12 * page table can map
14 #define PMD_SHIFT 21
15 #define PTRS_PER_PMD 512
18 * entries per page directory level
20 #define PTRS_PER_PTE 512
22 #endif /* _I386_PGTABLE_3LEVEL_DEFS_H */