aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-16 04:13:19 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commitb6e91ebfe06f1d90331d162259553a5330514143 (patch)
treeb03e3575a0b321943427f75a5728ba22acc9f506 /target-sparc/cpu-qom.h
parent55acb588dd184a1e33be0ff1fe23f8c19f88fd6c (diff)
target-sparc: Introduce QOM realizefn for SPARCCPU
Introduce realizefn and set realized = true in cpu_sparc_init(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-sparc/cpu-qom.h')
-rw-r--r--target-sparc/cpu-qom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-sparc/cpu-qom.h b/target-sparc/cpu-qom.h
index 2a738ae360..89cd1cf2d3 100644
--- a/target-sparc/cpu-qom.h
+++ b/target-sparc/cpu-qom.h
@@ -38,6 +38,7 @@
/**
* SPARCCPUClass:
+ * @parent_realize: The parent class' realize handler.
* @parent_reset: The parent class' reset handler.
*
* A SPARC CPU model.
@@ -47,6 +48,7 @@ typedef struct SPARCCPUClass {
CPUClass parent_class;
/*< public >*/
+ DeviceRealize parent_realize;
void (*parent_reset)(CPUState *cpu);
} SPARCCPUClass;