diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2013-11-07 19:43:10 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-02-11 22:55:55 +1000 |
commit | 29d8ec7beebbf4d8f6094df91ad383b98d768b32 (patch) | |
tree | 27e9d54bafae313814dd2f021266e8e68f5975c7 /translate-all.c | |
parent | 8fa7574904793396694fa88834751a93bcdf4e10 (diff) | |
download | qemu-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 'translate-all.c')
-rw-r--r-- | translate-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c index 543e1ff..1ac0246 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; |