diff options
author | Avi Kivity <avi@redhat.com> | 2009-08-09 19:44:56 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-24 08:01:42 -0500 |
commit | 1632dc6a8f6e8662f4a203b6fb8c0371ca216946 (patch) | |
tree | 49edaaf0dd65f87b02300f33cd0b3bb97bb774ce /hw/pc.h | |
parent | 1452411b25fb207e7f442e5a5128f34b4939d31c (diff) | |
download | qemu-1632dc6a8f6e8662f4a203b6fb8c0371ca216946.zip qemu-1632dc6a8f6e8662f4a203b6fb8c0371ca216946.tar.gz qemu-1632dc6a8f6e8662f4a203b6fb8c0371ca216946.tar.bz2 |
Route IOAPIC interrupts via ISA bus
Instead of calling the IOAPIC from the PIC, raise IOAPIC irqs via the ISA bus.
As a side effect, IOAPIC lines 16-23 are enabled.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -26,8 +26,6 @@ extern PicState2 *isa_pic; void pic_set_irq(int irq, int level); void pic_set_irq_new(void *opaque, int irq, int level); qemu_irq *i8259_init(qemu_irq parent_irq); -void pic_set_alt_irq_func(PicState2 *s, SetIRQFunc *alt_irq_func, - void *alt_irq_opaque); int pic_read_irq(PicState2 *s); void pic_update_irq(PicState2 *s); uint32_t pic_intack_read(PicState2 *s); @@ -44,7 +42,7 @@ int apic_init(CPUState *env); int apic_accept_pic_intr(CPUState *env); void apic_deliver_pic_intr(CPUState *env, int level); int apic_get_interrupt(CPUState *env); -IOAPICState *ioapic_init(void); +qemu_irq *ioapic_init(void); void ioapic_set_irq(void *opaque, int vector, int level); void apic_reset_irq_delivered(void); int apic_get_irq_delivered(void); |