mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
target-arm/helper.c: Correct FPSID value for Cortex-A9
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 <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
dd4427a619
commit
2d2624a001
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id)
|
||||||
* and valid configurations; we don't model A9UP).
|
* and valid configurations; we don't model A9UP).
|
||||||
*/
|
*/
|
||||||
set_feature(env, ARM_FEATURE_V7MP);
|
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_MVFR0] = 0x11110222;
|
||||||
env->vfp.xregs[ARM_VFP_MVFR1] = 0x01111111;
|
env->vfp.xregs[ARM_VFP_MVFR1] = 0x01111111;
|
||||||
memcpy(env->cp15.c0_c1, cortexa9_cp15_c0_c1, 8 * sizeof(uint32_t));
|
memcpy(env->cp15.c0_c1, cortexa9_cp15_c0_c1, 8 * sizeof(uint32_t));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue