mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue