aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/cpu-qom.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-05 14:01:30 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:56 +0100
commitbd1b282836a7885a13c13f9cc63123fa8e32f02f (patch)
tree51a39430f759f1a162be051fffae111e72ac62ec /target-alpha/cpu-qom.h
parent4f65809994274989bdf51c8605bb974565cb1c9e (diff)
target-alpha: Update AlphaCPU to QOM realizefn
Update the alpha_cpu_realize() signature and hook up to DeviceClass::realize. Set realized = true in cpu_alpha_init(). qapi/error.h is included through qdev now and no longer needed. Acked-by: Richard Henderson <rth@twiddle.net> [AF: Invoke parent's realizefn] Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-alpha/cpu-qom.h')
-rw-r--r--target-alpha/cpu-qom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-alpha/cpu-qom.h b/target-alpha/cpu-qom.h
index 16367d2ea4..c0f6c6d165 100644
--- a/target-alpha/cpu-qom.h
+++ b/target-alpha/cpu-qom.h
@@ -34,6 +34,7 @@
/**
* AlphaCPUClass:
+ * @parent_realize: The parent class' realize handler.
* @parent_reset: The parent class' reset handler.
*
* An Alpha CPU model.
@@ -43,6 +44,7 @@ typedef struct AlphaCPUClass {
CPUClass parent_class;
/*< public >*/
+ DeviceRealize parent_realize;
void (*parent_reset)(CPUState *cpu);
} AlphaCPUClass;