summaryrefslogtreecommitdiff
path: root/target-arm/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-03-29 04:50:31 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-03-29 15:42:50 +0000
commitdec9c2d4306d7b4f8ffff482ac42dc468ed2a61d (patch)
treead245bee4eea2b7bbcf2e0b7010482a197129e9f /target-arm/cpu.h
parent0bcd08b3522e4feffe3111e7c8145f62d32cc1fb (diff)
downloadqemu-dec9c2d4306d7b4f8ffff482ac42dc468ed2a61d.tar.gz
target-arm: Minimalistic CPU QOM'ification
Introduce only one non-abstract type TYPE_ARM_CPU and do not touch cp15 registers to not interfere with Peter's ongoing remodelling. Embed CPUARMState as first (additional) field of ARMCPU. Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r--target-arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 69ef142743..a68df615e4 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -475,6 +475,7 @@ static inline void cpu_clone_regs(CPUARMState *env, target_ulong newsp)
#endif
#include "cpu-all.h"
+#include "cpu-qom.h"
/* Bit usage in the TB flags field: */
#define ARM_TBFLAG_THUMB_SHIFT 0