]> Git Repo - qemu.git/blobdiff - hw/dma/sun4m_iommu.c
Switch non-CPU callers from ld/st*_phys to address_space_ld/st*
[qemu.git] / hw / dma / sun4m_iommu.c
index ec7c2efcd94c34201ba12668d30ef42ac5df79e0..9a488bc9b7229d62a304a941db46311fc7441dfe 100644 (file)
@@ -263,7 +263,8 @@ static uint32_t iommu_page_get_flags(IOMMUState *s, hwaddr addr)
     iopte = s->regs[IOMMU_BASE] << 4;
     addr &= ~s->iostart;
     iopte += (addr >> (IOMMU_PAGE_SHIFT - 2)) & ~3;
-    ret = ldl_be_phys(&address_space_memory, iopte);
+    ret = address_space_ldl_be(&address_space_memory, iopte,
+                               MEMTXATTRS_UNSPECIFIED, NULL);
     trace_sun4m_iommu_page_get_flags(pa, iopte, ret);
     return ret;
 }
This page took 0.02386 seconds and 4 git commands to generate.