* [Qemu-devel] [PATCH] target-arm/helper.c: Correct FPSID value for Cortex-A9
@ 2012-02-07 17:56 Peter Maydell
2012-02-17 7:16 ` andrzej zaborowski
0 siblings, 1 reply; 2+ messages in thread
From: Peter Maydell @ 2012-02-07 17:56 UTC (permalink / raw)
To: qemu-devel; +Cc: Andreas Färber, patches
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>
---
target-arm/helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-arm/helper.c b/target-arm/helper.c
index ea4f35f..34b226e 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -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));
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] target-arm/helper.c: Correct FPSID value for Cortex-A9
2012-02-07 17:56 [Qemu-devel] [PATCH] target-arm/helper.c: Correct FPSID value for Cortex-A9 Peter Maydell
@ 2012-02-17 7:16 ` andrzej zaborowski
0 siblings, 0 replies; 2+ messages in thread
From: andrzej zaborowski @ 2012-02-17 7:16 UTC (permalink / raw)
To: Peter Maydell; +Cc: patches, qemu-devel, Andreas Färber
On 7 February 2012 18:56, Peter Maydell <peter.maydell@linaro.org> wrote:
> The correct FPSID for the Cortex-A9 (according to the TRM) is
> 0x41033090 for the r0p0 that we claim to model.
Thanks, applied this patch.
Cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-17 7:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 17:56 [Qemu-devel] [PATCH] target-arm/helper.c: Correct FPSID value for Cortex-A9 Peter Maydell
2012-02-17 7:16 ` andrzej zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).