ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level-defs.h @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents f6b7ae6ed504
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
12 /*
13 * PMD_SHIFT determines the size of the area a middle-level
14 * page table can map
15 */
16 #define PMD_SHIFT 21
17 #define PTRS_PER_PMD 512
19 /*
20 * entries per page directory level
21 */
22 #define PTRS_PER_PTE 512
24 #endif /* _I386_PGTABLE_3LEVEL_DEFS_H */