mirror of https://gitee.com/openkylin/qemu.git
sh4: do not use isa_mmio
This fixes endianness bugs in I/O port access (for sh4eb). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1374501278-31549-2-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0cd8eaa011
commit
4759ab6b2d
|
@ -129,7 +129,8 @@ static int sh_pci_device_init(SysBusDevice *dev)
|
|||
"sh_pci", 0x224);
|
||||
memory_region_init_alias(&s->memconfig_a7, OBJECT(s), "sh_pci.2",
|
||||
&s->memconfig_p4, 0, 0x224);
|
||||
isa_mmio_setup(&s->isa, 0x40000);
|
||||
memory_region_init_alias(&s->isa, OBJECT(s), "sh_pci.isa",
|
||||
get_system_io(), 0, 0x40000);
|
||||
sysbus_init_mmio(dev, &s->memconfig_p4);
|
||||
sysbus_init_mmio(dev, &s->memconfig_a7);
|
||||
s->iobr = 0xfe240000;
|
||||
|
|
Loading…
Reference in New Issue