aboutsummaryrefslogtreecommitdiff
path: root/cputlb.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2013-11-07 19:55:56 +0100
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2014-02-11 22:56:09 +1000
commit777170946fc66120ec645699982ca24a8df95ead (patch)
tree0cd5b8611a3b4cd7c4c70968a9b36df4a4ff10b4 /cputlb.c
parent29d8ec7beebbf4d8f6094df91ad383b98d768b32 (diff)
downloadqemu-777170946fc66120ec645699982ca24a8df95ead.zip
qemu-777170946fc66120ec645699982ca24a8df95ead.tar.gz
qemu-777170946fc66120ec645699982ca24a8df95ead.tar.bz2
exec: Make iotlb_to_region input an AS
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'cputlb.c')
-rw-r--r--cputlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cputlb.c b/cputlb.c
index b533f3f..71cf64f 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -313,7 +313,7 @@ tb_page_addr_t get_page_addr_code(CPUArchState *env1, target_ulong addr)
cpu_ldub_code(env1, addr);
}
pd = env1->iotlb[mmu_idx][page_index] & ~TARGET_PAGE_MASK;
- mr = iotlb_to_region(pd);
+ mr = iotlb_to_region(&address_space_memory, pd);
if (memory_region_is_unassigned(mr)) {
CPUState *cpu = ENV_GET_CPU(env1);
CPUClass *cc = CPU_GET_CLASS(cpu);