diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2015-02-01 09:12:50 +0100 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2015-02-13 14:09:27 +0000 |
commit | bb2ed009e7e4b278c0234143f6b6c1126f68ba35 (patch) | |
tree | 2cb7cb302484dc2ed4a95f511758575b1359dd01 /hw/isa/i82378.c | |
parent | cd2d5541271f1934345d8ca42f5fafff1744eee7 (diff) |
isa: add memory space parameter to isa_bus_new
Currently, keep current behaviour by always using get_system_memory().
Also use QOM casts when possible.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'hw/isa/i82378.c')
-rw-r--r-- | hw/isa/i82378.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c index a7d9aa6da1..0dc440df5c 100644 --- a/hw/isa/i82378.c +++ b/hw/isa/i82378.c @@ -75,7 +75,8 @@ static int i82378_initfn(PCIDevice *pci) pci_config_set_interrupt_pin(pci_conf, 1); /* interrupt pin 0 */ - isabus = isa_bus_new(dev, pci_address_space_io(pci)); + isabus = isa_bus_new(dev, get_system_memory(), + pci_address_space_io(pci)); /* This device has: 2 82C59 (irq) |