1 #ifndef __KVM_IA64_LAPIC_H
2 #define __KVM_IA64_LAPIC_H
4 #include <linux/kvm_host.h>
10 struct kvm_vcpu
*vcpu
;
14 uint8_t pal_init_pending
;
18 int kvm_create_lapic(struct kvm_vcpu
*vcpu
);
19 void kvm_free_lapic(struct kvm_vcpu
*vcpu
);
21 int kvm_apic_match_physical_addr(struct kvm_lapic
*apic
, u16 dest
);
22 int kvm_apic_match_logical_addr(struct kvm_lapic
*apic
, u8 mda
);
23 int kvm_apic_set_irq(struct kvm_vcpu
*vcpu
, u8 vec
, u8 trig
);