mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
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>
This commit is contained in:
parent
cd2d554127
commit
bb2ed009e7
12 changed files with 26 additions and 14 deletions
|
@ -208,7 +208,7 @@ static void pc_init1(MachineState *machine,
|
|||
} else {
|
||||
pci_bus = NULL;
|
||||
i440fx_state = NULL;
|
||||
isa_bus = isa_bus_new(NULL, system_io);
|
||||
isa_bus = isa_bus_new(NULL, get_system_memory(), system_io);
|
||||
no_hpet = 1;
|
||||
}
|
||||
isa_bus_irqs(isa_bus, gsi);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue