aboutsummaryrefslogtreecommitdiffstats
path: root/hw/pc.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 0e52933ee..ccfd7add9 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -39,9 +39,11 @@ void pic_info(Monitor *mon);
void irq_info(Monitor *mon);
/* ISA */
+#define IOAPIC_NUM_PINS 0x18
+
typedef struct isa_irq_state {
qemu_irq *i8259;
- qemu_irq *ioapic;
+ qemu_irq ioapic[IOAPIC_NUM_PINS];
} IsaIrqState;
void isa_irq_handler(void *opaque, int n, int level);