summaryrefslogtreecommitdiffstats
path: root/hw/apic.h
diff options
context:
space:
mode:
authorJan Kiszka2011-10-16 11:16:36 +0200
committerJan Kiszka2012-01-19 12:14:40 +0100
commitdae01685280cef9b70ade9167340b5373eada9e8 (patch)
tree82cbf906ab8d6c84e7e4b648734c5e518103b818 /hw/apic.h
parentapic: Introduce apic_report_irq_delivered (diff)
downloadqemu-dae01685280cef9b70ade9167340b5373eada9e8.tar.gz
qemu-dae01685280cef9b70ade9167340b5373eada9e8.tar.xz
qemu-dae01685280cef9b70ade9167340b5373eada9e8.zip
apic: Factor out base class for KVM reuse
The KVM in-kernel APIC model will reuse parts of the user space model while providing the same frontend view to guest and most management interfaces. Factor out an APIC base class to encapsulate those parts that will be shared by user space and KVM model. This class offers callback hooks for init, base/tpr setting, and the external NMI delivery that will be set via APICCommonInfo structure and implemented specifically in the subclasses. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/apic.h')
-rw-r--r--hw/apic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/apic.h b/hw/apic.h
index 8173d8a790..a62d83ba9f 100644
--- a/hw/apic.h
+++ b/hw/apic.h
@@ -10,7 +10,6 @@ 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);