ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-2level-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_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
13 /*
14 * the i386 is two-level, so we don't really have any
15 * PMD directory physically.
16 */
18 #define PTRS_PER_PTE 1024
20 #endif /* _I386_PGTABLE_2LEVEL_DEFS_H */