aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-13 16:08:30 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-13 16:08:30 +0000
commita5b38b5171ea46e13612a3471a7cc735db6d6f72 (patch)
tree5338204d428075942f1fb80e930c3725a67a1956 /hw/pc.h
parente2eb9d3e9192800e0526e88c186cecda4529d307 (diff)
downloadqemu-a5b38b5171ea46e13612a3471a7cc735db6d6f72.zip
qemu-a5b38b5171ea46e13612a3471a7cc735db6d6f72.tar.gz
qemu-a5b38b5171ea46e13612a3471a7cc735db6d6f72.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 8626599..97adc6e 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -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);