summaryrefslogtreecommitdiff
path: root/target-microblaze/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-05 15:27:31 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commit746b03b27cac48be5a376d8635ffaf568339ebd7 (patch)
treed31abca98391864ed2c2ef09451cd5fcbf8948e8 /target-microblaze/cpu-qom.h
parent6d1bbc6273d45520c5ce6475186bfa30d8afb47c (diff)
downloadqemu-746b03b27cac48be5a376d8635ffaf568339ebd7.tar.gz
target-microblaze: Introduce QOM realizefn for MicroBlazeCPU
Introduce realizefn and set realized = true from cpu_mb_init(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-microblaze/cpu-qom.h')
-rw-r--r--target-microblaze/cpu-qom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-microblaze/cpu-qom.h b/target-microblaze/cpu-qom.h
index f75549dc22..5ea911c8e4 100644
--- a/target-microblaze/cpu-qom.h
+++ b/target-microblaze/cpu-qom.h
@@ -33,6 +33,7 @@
/**
* MicroBlazeCPUClass:
+ * @parent_realize: The parent class' realize handler.
* @parent_reset: The parent class' reset handler.
*
* A MicroBlaze CPU model.
@@ -42,6 +43,7 @@ typedef struct MicroBlazeCPUClass {
CPUClass parent_class;
/*< public >*/
+ DeviceRealize parent_realize;
void (*parent_reset)(CPUState *cpu);
} MicroBlazeCPUClass;