Revision 748e4993

b/hw/iommu.c
212 212
    addr &= ~s->iostart;
213 213
    iopte += (addr >> (PAGE_SHIFT - 2)) & ~3;
214 214
    cpu_physical_memory_read(iopte, (uint8_t *)&ret, 4);
215
    bswap32s(&ret);
215
    tswap32s(&ret);
216 216
    DPRINTF("get flags addr " TARGET_FMT_plx " => pte " TARGET_FMT_plx
217 217
            ", *pte = %x\n", pa, iopte, ret);
218 218

  

Also available in: Unified diff