aboutsummaryrefslogtreecommitdiff
path: root/target-cris/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-05 15:41:21 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commitca45f8b0440358ccca63446cf0df05772791b2a1 (patch)
treeceac1af5a70acf5fa14d7cf09723a3b400d8ed8f /target-cris/cpu-qom.h
parent4776ce600338e17f75d200d1ad17d4ce9effa57f (diff)
target-cris: Introduce QOM realizefn for CRISCPU
Introduce realizefn and set realized = true from cpu_cris_init(). Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-cris/cpu-qom.h')
-rw-r--r--target-cris/cpu-qom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-cris/cpu-qom.h b/target-cris/cpu-qom.h
index 41ab9b2fa5..7ad8398760 100644
--- a/target-cris/cpu-qom.h
+++ b/target-cris/cpu-qom.h
@@ -33,6 +33,7 @@
/**
* CRISCPUClass:
+ * @parent_realize: The parent class' realize handler.
* @parent_reset: The parent class' reset handler.
*
* A CRIS CPU model.
@@ -42,6 +43,7 @@ typedef struct CRISCPUClass {
CPUClass parent_class;
/*< public >*/
+ DeviceRealize parent_realize;
void (*parent_reset)(CPUState *cpu);
} CRISCPUClass;