mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
isa: Pass i/o address space to isa_bus_new
Not used yet, but at least we're provided with the correct region. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
e11d64390b
commit
c2d0d01202
10 changed files with 21 additions and 16 deletions
|
@ -548,7 +548,7 @@ pci_ebus_init1(PCIDevice *pci_dev)
|
|||
{
|
||||
EbusState *s = DO_UPCAST(EbusState, pci_dev, pci_dev);
|
||||
|
||||
isa_bus_new(&pci_dev->qdev);
|
||||
isa_bus_new(&pci_dev->qdev, pci_address_space_io(pci_dev));
|
||||
|
||||
pci_dev->config[0x04] = 0x06; // command = bus master, pci mem
|
||||
pci_dev->config[0x05] = 0x00;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue