mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
0bcd08b352
commit
dec9c2d430
5 changed files with 140 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue