Commit 5cc9878d3d5b98e2b51f8296bb1f87c970aa0866
1 parent
3dd9a152
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
Showing
1 changed file
with
1 additions
and
0 deletions
hw/iommu.c
... | ... | @@ -311,6 +311,7 @@ static void iommu_reset(void *opaque) |
311 | 311 | s->iostart = 0; |
312 | 312 | s->regs[IOMMU_CTRL] = s->version; |
313 | 313 | s->regs[IOMMU_ARBEN] = IOMMU_MID; |
314 | + s->regs[IOMMU_AFSR] = 0x00800000; | |
314 | 315 | } |
315 | 316 | |
316 | 317 | void *iommu_init(target_phys_addr_t addr, uint32_t version) | ... | ... |