mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
accel/tcg: Always require can_do_io
Require i/o as the last insn of a TranslationBlock always, not only with icount. This is required for i/o that alters the address space, such as a pci config space write. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1866 Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
200c1f904f
commit
18a536f1f8
2 changed files with 7 additions and 14 deletions
|
@ -11212,7 +11212,6 @@ static void gen_branch(DisasContext *ctx, int insn_bytes)
|
|||
/* Branches completion */
|
||||
clear_branch_hflags(ctx);
|
||||
ctx->base.is_jmp = DISAS_NORETURN;
|
||||
/* FIXME: Need to clear can_do_io. */
|
||||
switch (proc_hflags & MIPS_HFLAG_BMASK_BASE) {
|
||||
case MIPS_HFLAG_FBNSLOT:
|
||||
gen_goto_tb(ctx, 0, ctx->base.pc_next + insn_bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue