mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
pc: Convert GSIState::i8259_irq into array
Will be required when we no longer let i8259_init allocate the PIC IRQs but convert that chips to qdev. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
b881fbe9f7
commit
43a0db3537
2 changed files with 4 additions and 2 deletions
|
@ -158,7 +158,9 @@ static void pc_init1(MemoryRegion *system_memory,
|
|||
i8259 = xen_interrupt_controller_init();
|
||||
}
|
||||
|
||||
gsi_state->i8259_irq = i8259;
|
||||
for (i = 0; i < ISA_NUM_IRQS; i++) {
|
||||
gsi_state->i8259_irq[i] = i8259[i];
|
||||
}
|
||||
if (pci_enabled) {
|
||||
ioapic_init(gsi_state);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue