sparc32 iommu fix
PATCH 1/1 sparc32 iommu fix
Set initial value of AFSR register properly.
Index: hw/iommu.c
===================================================================
RCS file: /sources/qemu/qemu/hw/iommu.c,v
retrieving revision 1.19
iommu.c +1 -0
@@ -311,6 +311,7 @@ static void iommu_reset(void *opaque) s->iostart =0 ; s->regs[IOMMU_CTRL ] = s->version; s->regs[IOMMU_ARBEN ] =IOMMU_MID ; + s->regs[IOMMU_AFSR ] =0x00800000 ; }void *iommu_init (target_phys_addr_t addr,uint32_t version)