aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/irq.h')
-rw-r--r--arch/x86/kvm/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h
index 479a3d2d5614..4748532fd1da 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -42,6 +42,7 @@ struct kvm_kpic_state {
42 u8 irr; /* interrupt request register */ 42 u8 irr; /* interrupt request register */
43 u8 imr; /* interrupt mask register */ 43 u8 imr; /* interrupt mask register */
44 u8 isr; /* interrupt service register */ 44 u8 isr; /* interrupt service register */
45 u8 isr_ack; /* interrupt ack detection */
45 u8 priority_add; /* highest irq priority */ 46 u8 priority_add; /* highest irq priority */
46 u8 irq_base; 47 u8 irq_base;
47 u8 read_reg_select; 48 u8 read_reg_select;
@@ -70,6 +71,7 @@ struct kvm_pic *kvm_create_pic(struct kvm *kvm);
70void kvm_pic_set_irq(void *opaque, int irq, int level); 71void kvm_pic_set_irq(void *opaque, int irq, int level);
71int kvm_pic_read_irq(struct kvm *kvm); 72int kvm_pic_read_irq(struct kvm *kvm);
72void kvm_pic_update_irq(struct kvm_pic *s); 73void kvm_pic_update_irq(struct kvm_pic *s);
74void kvm_pic_clear_isr_ack(struct kvm *kvm);
73 75
74static inline struct kvm_pic *pic_irqchip(struct kvm *kvm) 76static inline struct kvm_pic *pic_irqchip(struct kvm *kvm)
75{ 77{