aboutsummaryrefslogtreecommitdiff
path: root/hw/apic.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-12-13 15:39:04 +0100
committerJan Kiszka <jan.kiszka@siemens.com>2012-01-19 12:14:40 +0100
commit343270ea8777fa95ce2c287fc00c2eaa53255265 (patch)
tree3625eec20259e3526edc6886adf85626f0473871 /hw/apic.h
parent02c091953cd8c24db46649ad2862b9648c50f865 (diff)
downloadqemu-343270ea8777fa95ce2c287fc00c2eaa53255265.zip
qemu-343270ea8777fa95ce2c287fc00c2eaa53255265.tar.gz
qemu-343270ea8777fa95ce2c287fc00c2eaa53255265.tar.bz2
apic: Introduce apic_report_irq_delivered
The in-kernel i8259 and IOAPIC backends for KVM will need this, so encapsulate the shared bits. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/apic.h')
-rw-r--r--hw/apic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/apic.h b/hw/apic.h
index a62d83b..8173d8a 100644
--- a/hw/apic.h
+++ b/hw/apic.h
@@ -10,6 +10,7 @@ int apic_accept_pic_intr(DeviceState *s);
void apic_deliver_pic_intr(DeviceState *s, int level);
void apic_deliver_nmi(DeviceState *d);
int apic_get_interrupt(DeviceState *s);
+void apic_report_irq_delivered(int delivered);
void apic_reset_irq_delivered(void);
int apic_get_irq_delivered(void);
void cpu_set_apic_base(DeviceState *s, uint64_t val);