exec: Make tb_invalidate_phys_addr input an AS

No functional change.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
Edgar E. Iglesias
2013-11-07 19:43:10 +01:00
parent 8fa7574904
commit 29d8ec7bee
4 changed files with 7 additions and 5 deletions

3
exec.c
View File

@@ -503,7 +503,8 @@ static void breakpoint_invalidate(CPUState *cpu, target_ulong pc)
{
hwaddr phys = cpu_get_phys_page_debug(cpu, pc);
if (phys != -1) {
tb_invalidate_phys_addr(phys | (pc & ~TARGET_PAGE_MASK));
tb_invalidate_phys_addr(&address_space_memory,
phys | (pc & ~TARGET_PAGE_MASK));
}
}
#endif