===== xen/arch/x86/Rules.mk 1.32 vs edited ===== --- 1.32/xen/arch/x86/Rules.mk 2004-11-17 06:43:29 -07:00 +++ edited/xen/arch/x86/Rules.mk 2004-12-07 14:16:40 -07:00 @@ -23,7 +23,7 @@ CFLAGS += $(call test-gcc-flag,-fno-sta CFLAGS += $(call test-gcc-flag,-fno-stack-protector-all) ifeq ($(TARGET_SUBARCH),x86_32) -CFLAGS += -m32 -march=i686 +CFLAGS += -m32 -march=i586 LDFLAGS := --oformat elf32-i386 endif ===== xen/arch/x86/setup.c 1.64 vs edited ===== --- 1.64/xen/arch/x86/setup.c 2004-10-21 11:11:29 -06:00 +++ edited/xen/arch/x86/setup.c 2004-12-07 14:16:40 -07:00 @@ -32,7 +32,7 @@ struct cpuinfo_x86 boot_cpu_data = { 0, #if defined(__x86_64__) unsigned long mmu_cr4_features = X86_CR4_PSE | X86_CR4_PGE | X86_CR4_PAE; #else -unsigned long mmu_cr4_features = X86_CR4_PSE | X86_CR4_PGE; +unsigned long mmu_cr4_features = X86_CR4_PGE; #endif EXPORT_SYMBOL(mmu_cr4_features); ===== xen/arch/x86/boot/x86_32.S 1.27 vs edited ===== --- 1.27/xen/arch/x86/boot/x86_32.S 2004-10-31 02:56:31 -07:00 +++ edited/xen/arch/x86/boot/x86_32.S 2004-12-08 09:25:21 -07:00 @@ -100,19 +100,29 @@ __start: xor %eax,%eax rep stosb - /* Initialize low and high mappings of all memory with 4MB pages */ - mov $idle_pg_table-__PAGE_OFFSET,%edi - mov $0x1e3,%eax /* PRESENT+RW+A+D+4MB+GLOBAL */ -1: mov %eax,__PAGE_OFFSET>>20(%edi) /* high mapping */ + /* Initialize low and high mappings of all memory */ + /* build Page Table with 4kb pages */ + mov $idle_pg_table_four-__PAGE_OFFSET,%edi + mov $0x23,%eax /* PRESENT+RW+A */ +1: mov %eax,__PAGE_OFFSET>>10(%edi) /* high mapping */ stosl /* low mapping */ - add $(1<>L2_PAGETABLE_SHIFT]) >> PAGE_SHIFT) extern l2_pgentry_t idle_pg_table[ENTRIES_PER_L2_PAGETABLE]; +extern l2_pgentry_t idle_pg_table_four[ENTRIES_PER_L2_PAGETABLE*ENTRIES_PER_L2_PAGETABLE]; extern void paging_init(void); /* Flush global pages as well. */