Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lapic.h
Go to the documentation of this file.
1 #ifndef __KVM_IA64_LAPIC_H
2 #define __KVM_IA64_LAPIC_H
3 
4 #include <linux/kvm_host.h>
5 
6 /*
7  * vlsapic
8  */
9 struct kvm_lapic{
10  struct kvm_vcpu *vcpu;
16 };
17 
18 int kvm_create_lapic(struct kvm_vcpu *vcpu);
19 void kvm_free_lapic(struct kvm_vcpu *vcpu);
20 
23 int kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source,
24  int short_hand, int dest, int dest_mode);
25 int kvm_apic_compare_prio(struct kvm_vcpu *vcpu1, struct kvm_vcpu *vcpu2);
26 int kvm_apic_set_irq(struct kvm_vcpu *vcpu, struct kvm_lapic_irq *irq);
27 #define kvm_apic_present(x) (true)
28 #define kvm_lapic_enabled(x) (true)
29 
30 #endif