aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-10-07 09:19:36 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-10-16 11:10:52 +0000
commit43a0db3537583b269083c8ec20dbe3388510ae54 (patch)
treeb86c2ad4d31e06c2ceddba38e685a35265cb3b74 /hw/pc.h
parentb881fbe9f7a60ceaef20b7a234c49473d009bf4d (diff)
downloadqemu-43a0db3537583b269083c8ec20dbe3388510ae54.zip
qemu-43a0db3537583b269083c8ec20dbe3388510ae54.tar.gz
qemu-43a0db3537583b269083c8ec20dbe3388510ae54.tar.bz2
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>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 558d9a5..72f8c7c 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -76,7 +76,7 @@ void irq_info(Monitor *mon);
#define GSI_NUM_PINS IOAPIC_NUM_PINS
typedef struct GSIState {
- qemu_irq *i8259_irq;
+ qemu_irq i8259_irq[ISA_NUM_IRQS];
qemu_irq ioapic_irq[IOAPIC_NUM_PINS];
} GSIState;