diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-25 12:44:08 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-25 12:44:08 +0000 |
commit | 5cc9878d3d5b98e2b51f8296bb1f87c970aa0866 (patch) | |
tree | dd5b47ca4bc645784f3dbf4377b0ab314abd3e20 | |
parent | 3dd9a152e1776c8a99cf5030a2a89db642d6ef43 (diff) |
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
-rw-r--r-- | hw/iommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/iommu.c b/hw/iommu.c index adc3bc0155..76259bbc6e 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) |