summaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-23 19:05:37 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-23 19:05:37 +0000
commitd592d3033d7bc41db6159e9387591a216e3c46e0 (patch)
tree8f06d19fb1c8d94005c991d8523e62a2d71f145f /vl.h
parent1ff5c1a68e2784722b66ecc40e30908e87e28a3b (diff)
downloadqemu-d592d3033d7bc41db6159e9387591a216e3c46e0.zip
IOAPIC support (initial patch by Filip Navara)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1520 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index f9fe6a34f0..e0bc8b855c 100644
--- a/vl.h
+++ b/vl.h
@@ -695,6 +695,8 @@ extern PicState2 *isa_pic;
void pic_set_irq(int irq, int level);
void pic_set_irq_new(void *opaque, int irq, int level);
PicState2 *pic_init(IRQRequestFunc *irq_request, void *irq_request_opaque);
+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);
@@ -702,8 +704,12 @@ void pic_info(void);
void irq_info(void);
/* APIC */
+typedef struct IOAPICState IOAPICState;
+
int apic_init(CPUState *env);
int apic_get_interrupt(CPUState *env);
+IOAPICState *ioapic_init(void);
+void ioapic_set_irq(void *opaque, int vector, int level);
/* i8254.c */