mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
pc: give ISA bus to ISA methods
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
a811f53ccb
commit
605730793d
3 changed files with 7 additions and 6 deletions
|
@ -137,7 +137,7 @@ static void pc_init1(MemoryRegion *system_memory,
|
|||
gsi = qemu_allocate_irqs(gsi_handler, gsi_state, GSI_NUM_PINS);
|
||||
|
||||
if (pci_enabled) {
|
||||
pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, gsi,
|
||||
pci_bus = i440fx_init(&i440fx_state, &piix3_devfn, &isa_bus, gsi,
|
||||
system_memory, system_io, ram_size,
|
||||
below_4g_mem_size,
|
||||
0x100000000ULL - below_4g_mem_size,
|
||||
|
@ -146,7 +146,6 @@ static void pc_init1(MemoryRegion *system_memory,
|
|||
? 0
|
||||
: ((uint64_t)1 << 62)),
|
||||
pci_memory, ram_memory);
|
||||
isa_bus = NULL;
|
||||
} else {
|
||||
pci_bus = NULL;
|
||||
i440fx_state = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue