aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-06-17 17:12:09 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-29 14:03:46 +0200
commit35a6b23c824e54055f1a2ab30fa5b051a82cdda6 (patch)
tree2167b74a2c8ecd312dd18cf97599134957d4cfb0 /include
parenta94dd6a9d693829bf8fb04cd6d85c797ed90a5d7 (diff)
downloadqemu-35a6b23c824e54055f1a2ab30fa5b051a82cdda6.zip
qemu-35a6b23c824e54055f1a2ab30fa5b051a82cdda6.tar.gz
qemu-35a6b23c824e54055f1a2ab30fa5b051a82cdda6.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/ich9.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/i386/ich9.h b/include/hw/i386/ich9.h
index f1294bc..a09a445 100644
--- a/include/hw/i386/ich9.h
+++ b/include/hw/i386/ich9.h
@@ -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);