ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-xen/asm-i386/pgtable-2level-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 0d415d73f8f2
children
line source
1 #ifndef _I386_PGTABLE_2LEVEL_DEFS_H
2 #define _I386_PGTABLE_2LEVEL_DEFS_H
4 #define HAVE_SHARED_KERNEL_PMD 0
6 /*
7 * traditional i386 two-level paging structure:
8 */
10 #define PGDIR_SHIFT 22
11 #define PTRS_PER_PGD 1024
12 #define PTRS_PER_PGD_NO_HV (HYPERVISOR_VIRT_START >> PGDIR_SHIFT)
14 /*
15 * the i386 is two-level, so we don't really have any
16 * PMD directory physically.
17 */
19 #define PTRS_PER_PTE 1024
21 #endif /* _I386_PGTABLE_2LEVEL_DEFS_H */