diff options
author | Claudio Fontana <cfontana@suse.de> | 2021-02-04 17:39:17 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-02-05 10:24:14 -1000 |
commit | 0545608056a6161e7020cd7b9368d9636fa80051 (patch) | |
tree | 0a80ad96040a9779b363325fe0afe6c8ccd11751 /target/avr/helper.c | |
parent | 853bfef4e6d60244fd131ec55bbf1e7caa52599b (diff) | |
download | qemu-0545608056a6161e7020cd7b9368d9636fa80051.zip qemu-0545608056a6161e7020cd7b9368d9636fa80051.tar.gz qemu-0545608056a6161e7020cd7b9368d9636fa80051.tar.bz2 |
cpu: move cc->do_interrupt to tcg_ops
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210204163931.7358-10-cfontana@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/avr/helper.c')
-rw-r--r-- | target/avr/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/avr/helper.c b/target/avr/helper.c index d96d143..69d3b61 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -34,7 +34,7 @@ bool avr_cpu_exec_interrupt(CPUState *cs, int interrupt_request) if (interrupt_request & CPU_INTERRUPT_RESET) { if (cpu_interrupts_enabled(env)) { cs->exception_index = EXCP_RESET; - cc->do_interrupt(cs); + cc->tcg_ops.do_interrupt(cs); cs->interrupt_request &= ~CPU_INTERRUPT_RESET; @@ -45,7 +45,7 @@ bool avr_cpu_exec_interrupt(CPUState *cs, int interrupt_request) if (cpu_interrupts_enabled(env) && env->intsrc != 0) { int index = ctz32(env->intsrc); cs->exception_index = EXCP_INT(index); - cc->do_interrupt(cs); + cc->tcg_ops.do_interrupt(cs); env->intsrc &= env->intsrc - 1; /* clear the interrupt */ cs->interrupt_request &= ~CPU_INTERRUPT_HARD; |