Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Dtsc_msrs_test.c39 wrmsr(MSR_IA32_TSC, val); in guest_code()
46 wrmsr(MSR_IA32_TSC_ADJUST, val); in guest_code()
61 wrmsr(MSR_IA32_TSC_ADJUST, val); in guest_code()
71 wrmsr(MSR_IA32_TSC, val); in guest_code()
Duser_msr_test.c97 wrmsr(MSR_SYSCALL_MASK, 0); in guest_msr_calls()
109 wrmsr(MSR_IA32_POWER_CTL, 0x1234); in guest_msr_calls()
116 wrmsr(0xdeadbeef, 0x1234); in guest_msr_calls()
Dvmx_tsc_adjust_test.c76 wrmsr(MSR_IA32_TSC, l1_tsc - TSC_ADJUST_VALUE); in l2_guest_code()
91 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
Dsmm_test.c58 wrmsr(APIC_BASE_MSR + (APIC_ICR >> 4), in self_smi()
68 wrmsr(MSR_IA32_APICBASE, apicbase | X2APIC_ENABLE); in guest_code()
/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c85 wrmsr(MSR_EFER, efer | EFER_SVME); in generic_svm_setup()
86 wrmsr(MSR_VM_HSAVE_PA, svm->save_area_gpa); in generic_svm_setup()
Dvmx.c167 wrmsr(MSR_IA32_FEAT_CTL, feature_control | required); in prepare_for_vmx_operation()
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h113 static inline void wrmsr(uint32_t msr, uint64_t value) in wrmsr() function
/tools/testing/selftests/kvm/include/
Devmcs.h232 wrmsr(HV_X64_MSR_VP_ASSIST_PAGE, val); in enable_vp_assist()