mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
3dd9a152e1
commit
5cc9878d3d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue