Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Commit

Permalink
fixup! add ARM CPU support based on qemu1.0.0-stable arm tcg
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhou-chaojixx committed Jan 13, 2020
1 parent 4af0068 commit dd09349
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/exec-tb.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int
current_tb_modified = 1;
cpu_restore_state(env, env->mem_io_pc);
cpu_get_tb_cpu_state(env, &current_pc, &current_cs_base, &current_flags);
#if defined(TARGET_I386) || defined(TARGET_X86_64)
// When an instruction modifies itself, advance pc to the next instruction
// and abort the tb asap.
int instr_size = tb_get_instruction_size(current_tb, current_tb->cs_base + env->eip);
Expand All @@ -411,7 +410,6 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int
env->eip += instr_size;
tcg_target_force_tb_exit(env->mem_io_pc, (uintptr_t)(current_tb->tc.ptr + current_tb->tc.size));
}
#endif
}
#endif /* TARGET_HAS_PRECISE_SMC */
/* we need to do that to handle the case where a signal
Expand Down

0 comments on commit dd09349

Please sign in to comment.