diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-11 23:59:39 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-13 20:17:24 +0200 |
commit | 5ba9e9522cf572715ca1966b292f64fb78342e22 (patch) | |
tree | 126da50490a47854c125ba1fac2e431c2dbddd86 /default-configs | |
parent | 612b2bd0ac17aeefa8041fadff3f094cf0f1f501 (diff) | |
download | qemu-5ba9e9522cf572715ca1966b292f64fb78342e22.zip qemu-5ba9e9522cf572715ca1966b292f64fb78342e22.tar.gz qemu-5ba9e9522cf572715ca1966b292f64fb78342e22.tar.bz2 |
sh_pci: fix memory and I/O access
Since commit 8da3ff180974732fc4272cb4433fef85c1822961 ("MMIO callback
interface changes"), the addresses passed to the I/O functions are an
offset to the start of the area. As a consequence, there is no need to
correct the address using the value of IOBR. This make possible the use
of the default MMIO functions. Moreover the addresses are now remaped
when the value if IOBR change.
The memory area corresponds to the devices behing the PCI bus, it should
not be mapped by the PCI controller. Remove the corresponding code.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'default-configs')
-rw-r--r-- | default-configs/sh4-softmmu.mak | 1 | ||||
-rw-r--r-- | default-configs/sh4eb-softmmu.mak | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/default-configs/sh4-softmmu.mak b/default-configs/sh4-softmmu.mak index 7c0d328..866ed7d 100644 --- a/default-configs/sh4-softmmu.mak +++ b/default-configs/sh4-softmmu.mak @@ -6,3 +6,4 @@ CONFIG_PTIMER=y CONFIG_VIRTIO_PCI=y CONFIG_IDE_CORE=y CONFIG_PFLASH_CFI02=y +CONFIG_ISA_MMIO=y diff --git a/default-configs/sh4eb-softmmu.mak b/default-configs/sh4eb-softmmu.mak index f4c3252..e3e08b7 100644 --- a/default-configs/sh4eb-softmmu.mak +++ b/default-configs/sh4eb-softmmu.mak @@ -6,3 +6,4 @@ CONFIG_PTIMER=y CONFIG_VIRTIO_PCI=y CONFIG_IDE_CORE=y CONFIG_PFLASH_CFI02=y +CONFIG_ISA_MMIO=y |