Home
last modified time | relevance | path

Searched refs:xapic (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dxapic_state_test.c53 struct kvm_lapic_state xapic; in ____test_icr() local
62 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
63 *((u32 *)&xapic.regs[APIC_IRR]) = val; in ____test_icr()
64 *((u32 *)&xapic.regs[APIC_IRR + 0x10]) = val >> 32; in ____test_icr()
65 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &xapic); in ____test_icr()
71 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
72 icr = (u64)(*((u32 *)&xapic.regs[APIC_ICR])) | in ____test_icr()
73 (u64)(*((u32 *)&xapic.regs[APIC_ICR2])) << 32; in ____test_icr()
138 struct kvm_lapic_state xapic; in __test_apic_id() local
142 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in __test_apic_id()
[all …]