]> Git Repo - qemu.git/blobdiff - hw/alpha/typhoon.c
Switch non-CPU callers from ld/st*_phys to address_space_ld/st*
[qemu.git] / hw / alpha / typhoon.c
index a6044f28c3daf38c3bca688197f2fa3cdba20e45..7df842dff77ef26d74ecaadd889028e480e956a2 100644 (file)
@@ -613,7 +613,8 @@ static bool make_iommu_tlbe(hwaddr taddr, hwaddr mask, IOMMUTLBEntry *ret)
    translation, given the address of the PTE.  */
 static bool pte_translate(hwaddr pte_addr, IOMMUTLBEntry *ret)
 {
-    uint64_t pte = ldq_phys(&address_space_memory, pte_addr);
+    uint64_t pte = address_space_ldq(&address_space_memory, pte_addr,
+                                     MEMTXATTRS_UNSPECIFIED, NULL);
 
     /* Check valid bit.  */
     if ((pte & 1) == 0) {
This page took 0.02531 seconds and 4 git commands to generate.