]> Git Repo - qemu.git/blobdiff - hw/alpha/typhoon.c
exec: Make ldq/ldub_*_phys input an AddressSpace
[qemu.git] / hw / alpha / typhoon.c
index 71a5a37fdc95ce39487272562f344002621e00a0..67a107028142f149dbf2e8beeb96e0b1c41bf93b 100644 (file)
@@ -613,7 +613,7 @@ 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(pte_addr);
+    uint64_t pte = ldq_phys(&address_space_memory, pte_addr);
 
     /* Check valid bit.  */
     if ((pte & 1) == 0) {
This page took 0.02356 seconds and 4 git commands to generate.