aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-05 14:38:30 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commit088383e3220776917f538d0e43933e842e16b804 (patch)
tree4990e8a12b227826fa3b9f9f3496a7dde8b2c22c /target-unicore32/cpu-qom.h
parentb6e91ebfe06f1d90331d162259553a5330514143 (diff)
target-unicore32: Introduce QOM realizefn for UniCore32CPU
Introduce a realizefn and set realized = true in uc32_cpu_init(). Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [AF: Invoke the parent's realizefn] Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-unicore32/cpu-qom.h')
-rw-r--r--target-unicore32/cpu-qom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-unicore32/cpu-qom.h b/target-unicore32/cpu-qom.h
index fe40b2d6a8..625c6143db 100644
--- a/target-unicore32/cpu-qom.h
+++ b/target-unicore32/cpu-qom.h
@@ -25,6 +25,7 @@
/**
* UniCore32CPUClass:
+ * @parent_realize: The parent class' realize handler.
*
* A UniCore32 CPU model.
*/
@@ -32,6 +33,8 @@ typedef struct UniCore32CPUClass {
/*< private >*/
CPUClass parent_class;
/*< public >*/
+
+ DeviceRealize parent_realize;
} UniCore32CPUClass;
/**