diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-11 18:24:48 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2012-04-14 03:48:08 +0400 |
commit | a4633e16d77bd1cf0c25e500d15943499b94f2f9 (patch) | |
tree | b065c94b19193050b6137be021c39a60cb2b0cbc /target-xtensa/cpu.h | |
parent | 7d6b9f0a3838632b4c553e0a387af0bbdf4297c0 (diff) |
target-xtensa: QOM'ify CPU
Embed CPUXtensaState as first member of XtensaCPU.
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target-xtensa/cpu.h')
-rw-r--r-- | target-xtensa/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-xtensa/cpu.h b/target-xtensa/cpu.h index a7bcf52220..2de5144e5f 100644 --- a/target-xtensa/cpu.h +++ b/target-xtensa/cpu.h @@ -470,6 +470,7 @@ static inline void cpu_get_tb_cpu_state(CPUXtensaState *env, target_ulong *pc, } #include "cpu-all.h" +#include "cpu-qom.h" #include "exec-all.h" static inline int cpu_has_work(CPUXtensaState *env) |