]> Git Repo - qemu.git/blobdiff - hw/pci-host/apb.c
Switch non-CPU callers from ld/st*_phys to address_space_ld/st*
[qemu.git] / hw / pci-host / apb.c
index 312fa703c69a5a673c89c86563668bd896ef1c4a..599768e2d9608df054e264abc153d6c4e7ecd057 100644 (file)
@@ -289,7 +289,8 @@ static IOMMUTLBEntry pbm_translate_iommu(MemoryRegion *iommu, hwaddr addr,
         }
     }
 
-    tte = ldq_be_phys(&address_space_memory, baseaddr + offset);
+    tte = address_space_ldq_be(&address_space_memory, baseaddr + offset,
+                               MEMTXATTRS_UNSPECIFIED, NULL);
 
     if (!(tte & IOMMU_TTE_DATA_V)) {
         /* Invalid mapping */
This page took 0.024173 seconds and 4 git commands to generate.