Switch default CPU to 24Kf for now, as the Linux FPU emulation in
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Apr 2007 21:07:41 +0000 (21:07 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Apr 2007 21:07:41 +0000 (21:07 +0000)
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
hw/mips_pica61.c
hw/mips_r4k.c

index 3a11503..42627e8 100644 (file)
@@ -721,7 +721,7 @@ void mips_malta_init (int ram_size, int vga_ram_size, int boot_device,
 #ifdef TARGET_MIPS64
         cpu_model = "R4000";
 #else
-        cpu_model = "4KEc";
+        cpu_model = "24Kf";
 #endif
     }
     if (mips_find_by_name(cpu_model, &def) != 0)
index 8e1058a..3f2a937 100644 (file)
@@ -73,7 +73,8 @@ void mips_pica61_init (int ram_size, int vga_ram_size, int boot_device,
 #ifdef TARGET_MIPS64
         cpu_model = "R4000";
 #else
-        cpu_model = "4KEc";
+        /* FIXME: All wrong, this maybe should be R3000 for the older PICAs. */
+        cpu_model = "24Kf";
 #endif
     }
     if (mips_find_by_name(cpu_model, &def) != 0)
index f6af322..72e9ac8 100644 (file)
@@ -154,7 +154,7 @@ void mips_r4k_init (int ram_size, int vga_ram_size, int boot_device,
 #ifdef TARGET_MIPS64
         cpu_model = "R4000";
 #else
-        cpu_model = "4KEc";
+        cpu_model = "24Kf";
 #endif
     }
     if (mips_find_by_name(cpu_model, &def) != 0)