]> Git Repo - qemu.git/commitdiff
target-arm/helper.c: Correct FPSID value for Cortex-A9
authorPeter Maydell <[email protected]>
Tue, 7 Feb 2012 17:56:57 +0000 (17:56 +0000)
committerAndrzej Zaborowski <[email protected]>
Fri, 17 Feb 2012 07:15:06 +0000 (08:15 +0100)
The correct FPSID for the Cortex-A9 (according to the TRM) is
0x41033090 for the r0p0 that we claim to model.

Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Andrzej Zaborowski <[email protected]>
target-arm/helper.c

index ea4f35fb6c04e6b3f2a34820cca46bb8c9eefe79..34b226ecf0382cdac9d6c67f7473ca2cdf2dc768 100644 (file)
@@ -157,7 +157,7 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id)
          * and valid configurations; we don't model A9UP).
          */
         set_feature(env, ARM_FEATURE_V7MP);
-        env->vfp.xregs[ARM_VFP_FPSID] = 0x41034000; /* Guess */
+        env->vfp.xregs[ARM_VFP_FPSID] = 0x41033090;
         env->vfp.xregs[ARM_VFP_MVFR0] = 0x11110222;
         env->vfp.xregs[ARM_VFP_MVFR1] = 0x01111111;
         memcpy(env->cp15.c0_c1, cortexa9_cp15_c0_c1, 8 * sizeof(uint32_t));
This page took 0.029984 seconds and 4 git commands to generate.