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.h | |
parent | 9c23169e8cd54b490d55221b6498d42966f964f3 (diff) | |
download | qemu-6d1bbc6273d45520c5ce6475186bfa30d8afb47c.zip qemu-6d1bbc6273d45520c5ce6475186bfa30d8afb47c.tar.gz qemu-6d1bbc6273d45520c5ce6475186bfa30d8afb47c.tar.bz2 |
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.h')
-rw-r--r-- | target-m68k/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index adaf56c..94937c4 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -116,6 +116,7 @@ typedef struct CPUM68KState { #include "cpu-qom.h" void m68k_tcg_init(void); +void m68k_cpu_init_gdb(M68kCPU *cpu); CPUM68KState *cpu_m68k_init(const char *cpu_model); int cpu_m68k_exec(CPUM68KState *s); void do_interrupt(CPUM68KState *env1); |