diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-04-20 17:58:32 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-04-21 18:09:00 +0000 |
commit | bd35c3553bfe6acb47034b1bfb2cf093684f406d (patch) | |
tree | 8e0b6c81f21d8e33c1e21f62f08b404fd7001bc3 /target-arm/cpu-qom.h | |
parent | 325b3ceff69c987e90acf9c8ef6f55e646b39767 (diff) |
target-arm: Move MVFR* setup to per cpu init fns
Move the MVFR* VFP feature register values to ARMCPU,
so they are set up by the implementation-specific instance
init functions rather than in cpu_reset_model_id().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-arm/cpu-qom.h')
-rw-r--r-- | target-arm/cpu-qom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h index 7cc4cd51ba..c51eb84817 100644 --- a/target-arm/cpu-qom.h +++ b/target-arm/cpu-qom.h @@ -71,6 +71,8 @@ typedef struct ARMCPU { */ uint32_t midr; uint32_t reset_fpsid; + uint32_t mvfr0; + uint32_t mvfr1; } ARMCPU; static inline ARMCPU *arm_env_get_cpu(CPUARMState *env) |