aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r--drivers/kvm/irq.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h
index 78a34dde1cb9..75f5f18d801c 100644
--- a/drivers/kvm/irq.h
+++ b/drivers/kvm/irq.h
@@ -79,6 +79,14 @@ void kvm_pic_update_irq(struct kvm_pic *s);
79#define IOAPIC_REG_VERSION 0x01 79#define IOAPIC_REG_VERSION 0x01
80#define IOAPIC_REG_ARB_ID 0x02 /* x86 IOAPIC only */ 80#define IOAPIC_REG_ARB_ID 0x02 /* x86 IOAPIC only */
81 81
82/*ioapic delivery mode*/
83#define IOAPIC_FIXED 0x0
84#define IOAPIC_LOWEST_PRIORITY 0x1
85#define IOAPIC_PMI 0x2
86#define IOAPIC_NMI 0x4
87#define IOAPIC_INIT 0x5
88#define IOAPIC_EXTINT 0x7
89
82struct kvm_ioapic { 90struct kvm_ioapic {
83 u64 base_address; 91 u64 base_address;
84 u32 ioregsel; 92 u32 ioregsel;