From 55acb588dd184a1e33be0ff1fe23f8c19f88fd6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 23 Apr 2012 18:16:02 +0200 Subject: target-sh4: Introduce QOM realizefn for SuperHCPU MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduce a realizefn and set realized = true in cpu_sh4_init(). Signed-off-by: Andreas Färber --- target-sh4/cpu-qom.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-sh4/cpu-qom.h') diff --git a/target-sh4/cpu-qom.h b/target-sh4/cpu-qom.h index 09573c9..d368db1 100644 --- a/target-sh4/cpu-qom.h +++ b/target-sh4/cpu-qom.h @@ -33,6 +33,7 @@ /** * SuperHCPUClass: + * @parent_realize: The parent class' realize handler. * @parent_reset: The parent class' reset handler. * * A SuperH CPU model. @@ -42,6 +43,7 @@ typedef struct SuperHCPUClass { CPUClass parent_class; /*< public >*/ + DeviceRealize parent_realize; void (*parent_reset)(CPUState *cpu); } SuperHCPUClass; -- cgit v1.1