ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-xen/asm-i386/pgtable-3level-defs.h @ 8534:da7873110bbb

Tiny bootstrap cleanup.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jan 09 19:46:46 2006 +0100 (2006-01-09)
parents d99ebf2de9f3
children
line source
1 #ifndef _I386_PGTABLE_3LEVEL_DEFS_H
2 #define _I386_PGTABLE_3LEVEL_DEFS_H
4 #define HAVE_SHARED_KERNEL_PMD 0
6 /*
7 * PGDIR_SHIFT determines what a top-level page table entry can map
8 */
9 #define PGDIR_SHIFT 30
10 #define PTRS_PER_PGD 4
11 #define PTRS_PER_PGD_NO_HV 4
13 /*
14 * PMD_SHIFT determines the size of the area a middle-level
15 * page table can map
16 */
17 #define PMD_SHIFT 21
18 #define PTRS_PER_PMD 512
20 /*
21 * entries per page directory level
22 */
23 #define PTRS_PER_PTE 512
25 #endif /* _I386_PGTABLE_3LEVEL_DEFS_H */