aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2013-11-07 19:43:10 +0100
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2014-02-11 22:55:55 +1000
commit29d8ec7beebbf4d8f6094df91ad383b98d768b32 (patch)
tree27e9d54bafae313814dd2f021266e8e68f5975c7 /exec.c
parent8fa7574904793396694fa88834751a93bcdf4e10 (diff)
downloadqemu-29d8ec7beebbf4d8f6094df91ad383b98d768b32.zip
qemu-29d8ec7beebbf4d8f6094df91ad383b98d768b32.tar.gz
qemu-29d8ec7beebbf4d8f6094df91ad383b98d768b32.tar.bz2
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>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index be93ebb..05ad67d 100644
--- a/exec.c
+++ b/exec.c
@@ -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