Searched refs:wrmsr (Results 1 – 8 of 8) sorted by relevance
/tools/testing/selftests/kvm/x86_64/ |
D | tsc_msrs_test.c | 39 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()
|
D | user_msr_test.c | 97 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()
|
D | vmx_tsc_adjust_test.c | 76 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()
|
D | smm_test.c | 58 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/ |
D | svm.c | 85 wrmsr(MSR_EFER, efer | EFER_SVME); in generic_svm_setup() 86 wrmsr(MSR_VM_HSAVE_PA, svm->save_area_gpa); in generic_svm_setup()
|
D | vmx.c | 167 wrmsr(MSR_IA32_FEAT_CTL, feature_control | required); in prepare_for_vmx_operation()
|
/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 113 static inline void wrmsr(uint32_t msr, uint64_t value) in wrmsr() function
|
/tools/testing/selftests/kvm/include/ |
D | evmcs.h | 232 wrmsr(HV_X64_MSR_VP_ASSIST_PAGE, val); in enable_vp_assist()
|