函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\zhaoxin.c Create Date:2022-07-27 08:59:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:zhaoxin_detect_vmx_virtcap

函数原型:static void zhaoxin_detect_vmx_virtcap(struct cpuinfo_x86 *c)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
96  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_VMX_PROCBASED_CTLS, vmx_msr_low, vmx_msr_high)
97  msr_ctl等于vmx_msr_high按位或vmx_msr_low
99  如果msr_ctl按位与X86_VMX_FEATURE_PROC_CTLS_TPR_SHADOWset_cpu_cap(c, Intel TPR Shadow )
101  如果msr_ctl按位与X86_VMX_FEATURE_PROC_CTLS_VNMIset_cpu_cap(c, Intel Virtual NMI )
103  如果msr_ctl按位与X86_VMX_FEATURE_PROC_CTLS_2ND_CTLS
104  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_VMX_PROCBASED_CTLS2, vmx_msr_low, vmx_msr_high)
106  msr_ctl2等于vmx_msr_high按位或vmx_msr_low
107  如果msr_ctl2按位与X86_VMX_FEATURE_PROC_CTLS2_VIRT_APICmsr_ctl按位与X86_VMX_FEATURE_PROC_CTLS_TPR_SHADOWset_cpu_cap(c, Intel FlexPriority )
110  如果msr_ctl2按位与X86_VMX_FEATURE_PROC_CTLS2_EPTset_cpu_cap(c, Intel Extended Page Table )
112  如果msr_ctl2按位与X86_VMX_FEATURE_PROC_CTLS2_VPIDset_cpu_cap(c, Intel Virtual Processor ID )
调用者
名称描述
init_zhaoxin