diff options
author | Richard Henderson | 2014-09-13 18:45:15 +0200 |
---|---|---|
committer | Peter Maydell | 2014-09-25 19:54:21 +0200 |
commit | 00f3fd63e13d9c35017f08a96528826e5ee9521f (patch) | |
tree | 6c1e9e2109b8624ec4b46a676ea77af9b13f20e6 /target-m68k/cpu.c | |
parent | target-i386: Use cpu_exec_enter/exit qom hooks (diff) | |
download | qemu-00f3fd63e13d9c35017f08a96528826e5ee9521f.tar.gz qemu-00f3fd63e13d9c35017f08a96528826e5ee9521f.tar.xz qemu-00f3fd63e13d9c35017f08a96528826e5ee9521f.zip |
target-m68k: Use cpu_exec_enter/exit qom hooks
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1410626734-3804-5-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-m68k/cpu.c')
-rw-r--r-- | target-m68k/cpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-m68k/cpu.c b/target-m68k/cpu.c index c9cff19efc..5a58d51a85 100644 --- a/target-m68k/cpu.c +++ b/target-m68k/cpu.c @@ -205,6 +205,9 @@ static void m68k_cpu_class_init(ObjectClass *c, void *data) #else cc->get_phys_page_debug = m68k_cpu_get_phys_page_debug; #endif + cc->cpu_exec_enter = m68k_cpu_exec_enter; + cc->cpu_exec_exit = m68k_cpu_exec_exit; + dc->vmsd = &vmstate_m68k_cpu; cc->gdb_num_core_regs = 18; cc->gdb_core_xml_file = "cf-core.xml"; |