summaryrefslogtreecommitdiff
path: root/target-sh4/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-09-13 09:45:23 -0700
committerPeter Maydell <peter.maydell@linaro.org>2014-09-25 18:54:22 +0100
commitf47ede195b1c7878504ca8aead6fa09ee05b585b (patch)
tree3fd45a600b51a2edfcff28074ff6a00437eed918 /target-sh4/cpu.c
parentdde7c241e3259f5a752e4fb7a638ee377ed0cad0 (diff)
downloadqemu-f47ede195b1c7878504ca8aead6fa09ee05b585b.tar.gz
qemu-f47ede195b1c7878504ca8aead6fa09ee05b585b.tar.bz2
qemu-f47ede195b1c7878504ca8aead6fa09ee05b585b.zip
target-sh4: Use cpu_exec_interrupt qom hook
Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net> Message-id: 1410626734-3804-13-git-send-email-rth@twiddle.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-sh4/cpu.c')
-rw-r--r--target-sh4/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-sh4/cpu.c b/target-sh4/cpu.c
index e7f05212da..d187a2bdba 100644
--- a/target-sh4/cpu.c
+++ b/target-sh4/cpu.c
@@ -276,6 +276,7 @@ static void superh_cpu_class_init(ObjectClass *oc, void *data)
cc->class_by_name = superh_cpu_class_by_name;
cc->has_work = superh_cpu_has_work;
cc->do_interrupt = superh_cpu_do_interrupt;
+ cc->cpu_exec_interrupt = superh_cpu_exec_interrupt;
cc->dump_state = superh_cpu_dump_state;
cc->set_pc = superh_cpu_set_pc;
cc->synchronize_from_tb = superh_cpu_synchronize_from_tb;