mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
ich9: unify pic and ioapic IRQ vectors
ich9->pic and ich9->ioapic differ for the first 16 GSIs (because ich9->pic is wired to 8259+IOAPIC but ich9->ioapic is wired to IOAPIC only). However, ich9->ioapic is never used for the first 16 GSIs, so the two vectors can be merged. Reviewed-by: Efimov Vasily <real@ispras.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a94dd6a9d6
commit
35a6b23c82
3 changed files with 4 additions and 6 deletions
|
@ -68,8 +68,7 @@ typedef struct ICH9LPCState {
|
|||
MemoryRegion rcrb_mem; /* root complex register block */
|
||||
Notifier machine_ready;
|
||||
|
||||
qemu_irq *pic;
|
||||
qemu_irq *ioapic;
|
||||
qemu_irq *gsi;
|
||||
} ICH9LPCState;
|
||||
|
||||
Object *ich9_lpc_find(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue