diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-04-20 17:58:34 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-04-21 18:11:38 +0000 |
commit | 2e4d7e3e3e97c4e0e68aca6221e3e7cb10b6041c (patch) | |
tree | f344f9d15d9125ef0e8d43bc95b89a69d9e8b3f7 /target-arm/cpu-qom.h | |
parent | 0cc892fd97b2d232ae45a30aec342a2e0fb148aa (diff) | |
download | hqemu-2e4d7e3e3e97c4e0e68aca6221e3e7cb10b6041c.zip hqemu-2e4d7e3e3e97c4e0e68aca6221e3e7cb10b6041c.tar.gz |
target-arm: Move feature register setup to per-CPU init fns
Move feature register value setup to per-CPU init functions.
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 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h index 97f7e90..7603eff 100644 --- a/target-arm/cpu-qom.h +++ b/target-arm/cpu-qom.h @@ -75,6 +75,20 @@ typedef struct ARMCPU { uint32_t mvfr1; uint32_t ctr; uint32_t reset_sctlr; + uint32_t id_pfr0; + uint32_t id_pfr1; + uint32_t id_dfr0; + uint32_t id_afr0; + uint32_t id_mmfr0; + uint32_t id_mmfr1; + uint32_t id_mmfr2; + uint32_t id_mmfr3; + uint32_t id_isar0; + uint32_t id_isar1; + uint32_t id_isar2; + uint32_t id_isar3; + uint32_t id_isar4; + uint32_t id_isar5; } ARMCPU; static inline ARMCPU *arm_env_get_cpu(CPUARMState *env) |