summaryrefslogtreecommitdiff
path: root/target-sh4/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-23 18:16:02 +0200
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commit55acb588dd184a1e33be0ff1fe23f8c19f88fd6c (patch)
treeff02717758cb0f6f49e24871aa110eb3bbdf2aac /target-sh4/cpu-qom.h
parent1f1366322b21678c33003a373366697a4542d2d4 (diff)
downloadqemu-55acb588dd184a1e33be0ff1fe23f8c19f88fd6c.tar.gz
target-sh4: Introduce QOM realizefn for SuperHCPU
Introduce a realizefn and set realized = true in cpu_sh4_init(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-sh4/cpu-qom.h')
-rw-r--r--target-sh4/cpu-qom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-sh4/cpu-qom.h b/target-sh4/cpu-qom.h
index 09573c9c34..d368db1b0a 100644
--- a/target-sh4/cpu-qom.h
+++ b/target-sh4/cpu-qom.h
@@ -33,6 +33,7 @@
/**
* SuperHCPUClass:
+ * @parent_realize: The parent class' realize handler.
* @parent_reset: The parent class' reset handler.
*
* A SuperH CPU model.
@@ -42,6 +43,7 @@ typedef struct SuperHCPUClass {
CPUClass parent_class;
/*< public >*/
+ DeviceRealize parent_realize;
void (*parent_reset)(CPUState *cpu);
} SuperHCPUClass;