irq.h (a976c2951d8f376112361830aa7762beff83a205) irq.h (654f1f13ea56b92bacade8ce2725aea0457f91c0)
1/*
2 * irq.h: in kernel interrupt controller related definitions
3 * Copyright (c) 2007, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *

--- 100 unchanged lines hidden (view full) ---

109{
110 int mode = kvm->arch.irqchip_mode;
111
112 /* Matches smp_wmb() when setting irqchip_mode */
113 smp_rmb();
114 return mode != KVM_IRQCHIP_NONE;
115}
116
1/*
2 * irq.h: in kernel interrupt controller related definitions
3 * Copyright (c) 2007, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *

--- 100 unchanged lines hidden (view full) ---

109{
110 int mode = kvm->arch.irqchip_mode;
111
112 /* Matches smp_wmb() when setting irqchip_mode */
113 smp_rmb();
114 return mode != KVM_IRQCHIP_NONE;
115}
116
117bool kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args);
117void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu);
118void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu);
119void kvm_apic_nmi_wd_deliver(struct kvm_vcpu *vcpu);
120void __kvm_migrate_apic_timer(struct kvm_vcpu *vcpu);
121void __kvm_migrate_pit_timer(struct kvm_vcpu *vcpu);
122void __kvm_migrate_timers(struct kvm_vcpu *vcpu);
123
124int apic_has_pending_timer(struct kvm_vcpu *vcpu);
125
126int kvm_setup_default_irq_routing(struct kvm *kvm);
127int kvm_setup_empty_irq_routing(struct kvm *kvm);
128
129#endif
118void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu);
119void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu);
120void kvm_apic_nmi_wd_deliver(struct kvm_vcpu *vcpu);
121void __kvm_migrate_apic_timer(struct kvm_vcpu *vcpu);
122void __kvm_migrate_pit_timer(struct kvm_vcpu *vcpu);
123void __kvm_migrate_timers(struct kvm_vcpu *vcpu);
124
125int apic_has_pending_timer(struct kvm_vcpu *vcpu);
126
127int kvm_setup_default_irq_routing(struct kvm *kvm);
128int kvm_setup_empty_irq_routing(struct kvm *kvm);
129
130#endif