From 29d8ec7beebbf4d8f6094df91ad383b98d768b32 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Thu, 7 Nov 2013 19:43:10 +0100 Subject: exec: Make tb_invalidate_phys_addr input an AS No functional change. Reviewed-by: Peter Maydell Signed-off-by: Edgar E. Iglesias --- translate-all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'translate-all.c') diff --git a/translate-all.c b/translate-all.c index 543e1ffe77..1ac0246dab 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1357,13 +1357,13 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr) } #if defined(TARGET_HAS_ICE) && !defined(CONFIG_USER_ONLY) -void tb_invalidate_phys_addr(hwaddr addr) +void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr) { ram_addr_t ram_addr; MemoryRegion *mr; hwaddr l = 1; - mr = address_space_translate(&address_space_memory, addr, &addr, &l, false); + mr = address_space_translate(as, addr, &addr, &l, false); if (!(memory_region_is_ram(mr) || memory_region_is_romd(mr))) { return; -- cgit v1.2.3