Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dmonitor_mwait_test.c46 vector = kvm_asm_safe("monitor", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait()
49 vector = kvm_asm_safe("mwait", "a"(guest_monitor_wait), "c"(0), "d"(0)); in guest_monitor_wait()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1135 #define kvm_asm_safe(insn, inputs...) \ macro
1175 return kvm_asm_safe("wrmsr", "a"(val & -1u), "d"(val >> 32), "c"(msr)); in wrmsr_safe()
1183 return kvm_asm_safe("xsetbv", "a" (eax), "d" (edx), "c" (index)); in xsetbv_safe()