]> xenbits.xensource.com Git - people/pauldu/qemu.git/commitdiff
target/openrisc: Update cpu "any" to v1.3
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Aug 2019 00:33:53 +0000 (17:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Sep 2019 20:01:56 +0000 (13:01 -0700)
Now that the two updates from v1.3 are implemented,
update the "any" cpu to enable it.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/openrisc/cpu.c

index f96a69e2789731645408d2c189bfb788e7666cd9..506aec6bfba59f82411e293cd59787f103e2bedc 100644 (file)
@@ -129,7 +129,7 @@ static void openrisc_any_initfn(Object *obj)
 
     cpu->env.vr = 0x13000040;   /* Obsolete VER + UVRP for new SPRs */
     cpu->env.vr2 = 0;           /* No version specific id */
-    cpu->env.avr = 0x01010000;  /* Architecture v1.1 */
+    cpu->env.avr = 0x01030000;  /* Architecture v1.3 */
 
     cpu->env.upr = UPR_UP | UPR_DMP | UPR_IMP | UPR_PICP | UPR_TTP | UPR_PMP;
     cpu->env.cpucfgr = CPUCFGR_NSGF | CPUCFGR_OB32S | CPUCFGR_OF32S |