Commit 5cc9878d authored by blueswir1's avatar blueswir1
Browse files

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
parent 3dd9a152
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment