OSDN Git Service

Change 20Kc PRID to a later version.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 12 Jun 2007 12:43:47 +0000 (12:43 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 12 Jun 2007 12:43:47 +0000 (12:43 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2980 c046a42c-6fe2-441c-8c8c-71466251a162

target-mips/translate_init.c

index c5b2733..e576ef8 100644 (file)
@@ -182,7 +182,9 @@ static mips_def_t mips_defs[] =
     },
     {
         .name = "20Kc",
-        .CP0_PRid = 0x00018200,
+       /* We emulate a later version of the 20Kc, earlier ones had a broken
+           WAIT instruction. */
+        .CP0_PRid = 0x000182a0,
         .CP0_Config0 = MIPS_CONFIG0 | (0x2 << CP0C0_AT) | (1 << CP0C0_VI),
         .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (47 << CP0C1_MMU) |
                    (2 << CP0C1_IS) | (4 << CP0C1_IL) | (3 << CP0C1_IA) |