diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-05 01:29:40 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-04-07 08:25:21 +0000 |
commit | ab7ab3d74c357e73a37b241fba27ea7f0595c085 (patch) | |
tree | 57cb7d0d58157b237539c0e7bacbb175c4e325bf /target-sparc/cpu.h | |
parent | 88ca012a1f0bb89d481e506eb4738382062da55f (diff) |
target-sparc: QOM'ify CPU
Embed CPUSPARCState as first member of SPARCCPU.
Drop cpu_sparc_close() in favor of object_delete() and a finalizer.
Let cpu_state_reset() call cpu_reset().
Make TYPE_SPARC_CPU non-abstract for now.
Distinguish between "sparc-cpu" and "sparc64-cpu".
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r-- | target-sparc/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 885ad45c3a..865288cc94 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -691,6 +691,7 @@ static inline void cpu_clone_regs(CPUSPARCState *env, target_ulong newsp) #endif #include "cpu-all.h" +#include "cpu-qom.h" #ifdef TARGET_SPARC64 /* sun4u.c */ |