mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target/mips: Restrict cpu_exec_interrupt() handler to sysemu
Restrict cpu_exec_interrupt() and its callees to sysemu. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210911165434.531552-15-f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
eb3ef3136e
commit
6eb66e086a
5 changed files with 22 additions and 26 deletions
|
@ -539,10 +539,10 @@ static const struct SysemuCPUOps mips_sysemu_ops = {
|
|||
static const struct TCGCPUOps mips_tcg_ops = {
|
||||
.initialize = mips_tcg_init,
|
||||
.synchronize_from_tb = mips_cpu_synchronize_from_tb,
|
||||
.cpu_exec_interrupt = mips_cpu_exec_interrupt,
|
||||
.tlb_fill = mips_cpu_tlb_fill,
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
.cpu_exec_interrupt = mips_cpu_exec_interrupt,
|
||||
.do_interrupt = mips_cpu_do_interrupt,
|
||||
.do_transaction_failed = mips_cpu_do_transaction_failed,
|
||||
.do_unaligned_access = mips_cpu_do_unaligned_access,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue