aboutsummaryrefslogtreecommitdiff
path: root/target-arm/cpu-qom.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-04-20 17:58:33 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-04-21 18:09:53 +0000
commit64e1671fd46669f097763f71b9a8cbcc0bf61cce (patch)
treea0e42d54a9e04b5d1fdeb2c7435b8d62990aa008 /target-arm/cpu-qom.h
parentbd35c3553bfe6acb47034b1bfb2cf093684f406d (diff)
downloadqemu-64e1671fd46669f097763f71b9a8cbcc0bf61cce.zip
qemu-64e1671fd46669f097763f71b9a8cbcc0bf61cce.tar.gz
qemu-64e1671fd46669f097763f71b9a8cbcc0bf61cce.tar.bz2
target-arm: Move CTR setup to per cpu init fns
Move CTR (cache type register) value to an ARMCPU field set up by per-cpu init fns. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h
index c51eb84..cb9198a 100644
--- a/target-arm/cpu-qom.h
+++ b/target-arm/cpu-qom.h
@@ -73,6 +73,7 @@ typedef struct ARMCPU {
uint32_t reset_fpsid;
uint32_t mvfr0;
uint32_t mvfr1;
+ uint32_t ctr;
} ARMCPU;
static inline ARMCPU *arm_env_get_cpu(CPUARMState *env)