Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c143 cr0 &= rdmsr(MSR_IA32_VMX_CR0_FIXED1); in prepare_for_vmx_operation()
144 cr0 |= rdmsr(MSR_IA32_VMX_CR0_FIXED0); in prepare_for_vmx_operation()
148 cr4 &= rdmsr(MSR_IA32_VMX_CR4_FIXED1); in prepare_for_vmx_operation()
149 cr4 |= rdmsr(MSR_IA32_VMX_CR4_FIXED0); in prepare_for_vmx_operation()
162 feature_control = rdmsr(MSR_IA32_FEATURE_CONTROL); in prepare_for_vmx_operation()
210 vmwrite(PIN_BASED_VM_EXEC_CONTROL, rdmsr(MSR_IA32_VMX_TRUE_PINBASED_CTLS)); in init_vmcs_control_fields()
217 .ad_enabled = !!(rdmsr(MSR_IA32_VMX_EPT_VPID_CAP) & VMX_EPT_VPID_CAP_AD_BITS), in init_vmcs_control_fields()
228 rdmsr(MSR_IA32_VMX_TRUE_PROCBASED_CTLS) | CPU_BASED_ACTIVATE_SECONDARY_CONTROLS); in init_vmcs_control_fields()
230 vmwrite(CPU_BASED_VM_EXEC_CONTROL, rdmsr(MSR_IA32_VMX_TRUE_PROCBASED_CTLS)); in init_vmcs_control_fields()
238 vmwrite(VM_EXIT_CONTROLS, rdmsr(MSR_IA32_VMX_EXIT_CTLS) | in init_vmcs_control_fields()
[all …]
/tools/power/cpupower/debug/i386/
Dcentrino-decode.c28 static int rdmsr(unsigned int cpu, unsigned int msr, in rdmsr() function
80 err = rdmsr(cpu, MSR_IA32_PERF_STATUS, &lo, &hi); in decode_live()
/tools/testing/selftests/kvm/x86_64/
Dplatform_info_test.c32 msr_platform_info = rdmsr(MSR_PLATFORM_INFO); in guest_code()
Dvmx_tsc_adjust_test.c67 adjust = rdmsr(MSR_IA32_TSC_ADJUST); in check_ia32_tsc_adjust()
Dsmm_test.c63 uint64_t apicbase = rdmsr(MSR_IA32_APICBASE); in guest_code()
/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h537 return rdmsr(MSR_IA32_VMX_BASIC); in vmcs_revision()
Dprocessor.h97 static inline uint64_t rdmsr(uint32_t msr) in rdmsr() function