summaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-06-19 07:41:43 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-06-19 07:41:43 +0000
commit9605111958173938ac08298f515d55e937d0211c (patch)
tree10235928dfca2255871dfaaf5117d1003a3fd45f /hw/pc.h
parent7d0500c49abe09171260a4a8dd06c312c3e043e9 (diff)
downloadqemu-9605111958173938ac08298f515d55e937d0211c.tar.gz
ioapic: convert to qdev
Convert to qdev. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 0e52933eeb..ccfd7add99 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);