]> Git Repo - qemu.git/blobdiff - cputlb.c
spapr_vio: take care of creating our own AddressSpace/DMAContext
[qemu.git] / cputlb.c
index 86666c8d571fb902edc8f67c6bbd42e34792e09d..947f17cd11775f9de313dbb05c879d349356ce30 100644 (file)
--- a/cputlb.c
+++ b/cputlb.c
@@ -256,14 +256,14 @@ void tlb_set_page(CPUArchState *env, target_ulong vaddr,
     }
 
     sz = size;
-    section = address_space_translate(&address_space_memory, paddr, &xlat, &sz,
-                                      false);
+    section = address_space_translate_for_iotlb(&address_space_memory, paddr,
+                                                &xlat, &sz);
     assert(sz >= TARGET_PAGE_SIZE);
 
 #if defined(DEBUG_TLB)
     printf("tlb_set_page: vaddr=" TARGET_FMT_lx " paddr=0x" TARGET_FMT_plx
-           " prot=%x idx=%d pd=0x%08lx\n",
-           vaddr, paddr, prot, mmu_idx, pd);
+           " prot=%x idx=%d\n",
+           vaddr, paddr, prot, mmu_idx);
 #endif
 
     address = vaddr;
This page took 0.021819 seconds and 4 git commands to generate.