1 --- linux-2.6.9/arch/i386/Kconfig 2004-10-18 23:53:22.000000000 +0200
2 +++ linux-2.6.9-qemu/arch/i386/Kconfig 2004-12-07 21:56:49.000000000 +0100
3 @@ -337,6 +337,14 @@ config X86_GENERIC
8 + bool "Kernel to run under QEMU"
9 + depends on EXPERIMENTAL
11 + Select this if you want to boot the kernel inside qemu-fast,
12 + the non-mmu version of the x86 emulator. See
13 + <http://fabrice.bellard.free.fr/qemu/>. Say N.
16 # Define implied options from the CPU selection here
18 --- linux-2.6.9/include/asm-i386/fixmap.h 2004-10-18 23:53:08.000000000 +0200
19 +++ linux-2.6.9-qemu/include/asm-i386/fixmap.h 2004-12-07 23:16:11.000000000 +0100
21 * Leave one empty page between vmalloc'ed areas and
22 * the start of the fixmap.
25 +#define __FIXADDR_TOP 0xa7fff000
27 #define __FIXADDR_TOP 0xfffff000
31 #include <linux/kernel.h>
32 --- linux-2.6.9/include/asm-i386/page.h 2004-10-18 23:53:22.000000000 +0200
33 +++ linux-2.6.9-qemu/include/asm-i386/page.h 2004-12-07 21:56:49.000000000 +0100
34 @@ -121,12 +121,19 @@ extern int sysctl_legacy_va_layout;
35 #endif /* __ASSEMBLY__ */
39 +#define __PAGE_OFFSET (0x90000000)
41 #define __PAGE_OFFSET (0xC0000000)
45 +#define __PAGE_OFFSET (0x90000000UL)
47 #define __PAGE_OFFSET (0xC0000000UL)
52 #define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)
53 #define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
54 #define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
55 --- linux-2.6.9/include/asm-i386/param.h 2004-10-18 23:53:24.000000000 +0200
56 +++ linux-2.6.9-qemu/include/asm-i386/param.h 2004-12-07 21:56:49.000000000 +0100
58 #define _ASMi386_PARAM_H
61 -# define HZ 1000 /* Internal kernel timer frequency */
62 +# include <linux/config.h>
66 +# define HZ 1000 /* Internal kernel timer frequency */
68 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
69 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */