Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dxapic_state_test.c62 struct kvm_lapic_state xapic; in ____test_icr() local
71 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
72 *((u32 *)&xapic.regs[APIC_IRR]) = val; in ____test_icr()
73 *((u32 *)&xapic.regs[APIC_IRR + 0x10]) = val >> 32; in ____test_icr()
74 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &xapic); in ____test_icr()
80 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
81 icr = (u64)(*((u32 *)&xapic.regs[APIC_ICR])) | in ____test_icr()
82 (u64)(*((u32 *)&xapic.regs[APIC_ICR2])) << 32; in ____test_icr()
148 struct kvm_lapic_state xapic; in __test_apic_id() local
152 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in __test_apic_id()
[all …]