Commit 1c32f43eeaf829774958325f7c50078f7077e614

Authored by ths
1 parent 931f03ee

Switch default CPU to 24Kf for now, as the Linux FPU emulation in

the current qemu mips emulation fails in some cases. (The Linux
FPU emulation works on real FPU-less hardware.)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2738 c046a42c-6fe2-441c-8c8c-71466251a162
hw/mips_malta.c
... ... @@ -721,7 +721,7 @@ void mips_malta_init (int ram_size, int vga_ram_size, int boot_device,
721 721 #ifdef TARGET_MIPS64
722 722 cpu_model = "R4000";
723 723 #else
724   - cpu_model = "4KEc";
  724 + cpu_model = "24Kf";
725 725 #endif
726 726 }
727 727 if (mips_find_by_name(cpu_model, &def) != 0)
... ...
hw/mips_pica61.c
... ... @@ -73,7 +73,8 @@ void mips_pica61_init (int ram_size, int vga_ram_size, int boot_device,
73 73 #ifdef TARGET_MIPS64
74 74 cpu_model = "R4000";
75 75 #else
76   - cpu_model = "4KEc";
  76 + /* FIXME: All wrong, this maybe should be R3000 for the older PICAs. */
  77 + cpu_model = "24Kf";
77 78 #endif
78 79 }
79 80 if (mips_find_by_name(cpu_model, &def) != 0)
... ...
hw/mips_r4k.c
... ... @@ -154,7 +154,7 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
154 154 #ifdef TARGET_MIPS64
155 155 cpu_model = "R4000";
156 156 #else
157   - cpu_model = "4KEc";
  157 + cpu_model = "24Kf";
158 158 #endif
159 159 }
160 160 if (mips_find_by_name(cpu_model, &def) != 0)
... ...