From 325b3ceff69c987e90acf9c8ef6f55e646b39767 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 20 Apr 2012 17:58:32 +0000 Subject: target-arm: Move FPSID config to cpu init fns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the reset FPSID to the ARMCPU struct, and set it in the per-implementation instance init function. At reset we then just copy the reset value into the CPUARMState field. Signed-off-by: Peter Maydell Acked-by: Andreas Färber --- target-arm/cpu-qom.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-arm/cpu-qom.h') diff --git a/target-arm/cpu-qom.h b/target-arm/cpu-qom.h index 7e2d4c9..7cc4cd5 100644 --- a/target-arm/cpu-qom.h +++ b/target-arm/cpu-qom.h @@ -70,6 +70,7 @@ typedef struct ARMCPU { * prefix means a constant register. */ uint32_t midr; + uint32_t reset_fpsid; } ARMCPU; static inline ARMCPU *arm_env_get_cpu(CPUARMState *env) -- cgit v1.1