diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-06-19 07:41:43 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-19 07:41:43 +0000 |
commit | 9605111958173938ac08298f515d55e937d0211c (patch) | |
tree | 10235928dfca2255871dfaaf5117d1003a3fd45f /hw/pc.h | |
parent | 7d0500c49abe09171260a4a8dd06c312c3e043e9 (diff) |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |