From 5cc9878d3d5b98e2b51f8296bb1f87c970aa0866 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 25 Nov 2007 12:44:08 +0000 Subject: Set initial value of AFSR register properly (Robert Reif) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3739 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/iommu.c b/hw/iommu.c index adc3bc0..76259bb 100644 --- a/hw/iommu.c +++ b/hw/iommu.c @@ -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) -- cgit v1.1