diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-05 15:15:30 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:50:57 +0100 |
commit | 6d1bbc6273d45520c5ce6475186bfa30d8afb47c (patch) | |
tree | 94cbc3b1f80f3e9d01eff253ce922b494907c61a /target-m68k/cpu-qom.h | |
parent | 9c23169e8cd54b490d55221b6498d42966f964f3 (diff) |
target-m68k: Introduce QOM realizefn for M68kCPU
Introduce realizefn and set realized = true in cpu_m68k_init().
Split off GDB registration to a new m68k_cpu_init_gdb() so that it can
be called from the realizefn.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-m68k/cpu-qom.h')
-rw-r--r-- | target-m68k/cpu-qom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-m68k/cpu-qom.h b/target-m68k/cpu-qom.h index 170daa7c96..20e5684552 100644 --- a/target-m68k/cpu-qom.h +++ b/target-m68k/cpu-qom.h @@ -33,6 +33,7 @@ /** * M68kCPUClass: + * @parent_realize: The parent class' realize handler. * @parent_reset: The parent class' reset handler. * * A Motorola 68k CPU model. @@ -42,6 +43,7 @@ typedef struct M68kCPUClass { CPUClass parent_class; /*< public >*/ + DeviceRealize parent_realize; void (*parent_reset)(CPUState *cpu); } M68kCPUClass; |