diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-13 16:08:30 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-13 16:08:30 +0000 |
commit | a5b38b5171ea46e13612a3471a7cc735db6d6f72 (patch) | |
tree | 5338204d428075942f1fb80e930c3725a67a1956 /hw/pc.h | |
parent | e2eb9d3e9192800e0526e88c186cecda4529d307 (diff) |
x86: Rework local IRQ delivery for APICs
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4207 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pc.h')
-rw-r--r-- | hw/pc.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -39,8 +39,11 @@ void irq_info(void); /* APIC */ typedef struct IOAPICState IOAPICState; +#define APIC_LINT0 3 + int apic_init(CPUState *env); int apic_accept_pic_intr(CPUState *env); +void apic_local_deliver(CPUState *env, int vector); int apic_get_interrupt(CPUState *env); IOAPICState *ioapic_init(void); void ioapic_set_irq(void *opaque, int vector, int level); |