Function report |
Source Code:arch\x86\kernel\cpu\zhaoxin.c |
Create Date:2022-07-28 07:59:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zhaoxin_detect_vmx_virtcap
Proto:static void zhaoxin_detect_vmx_virtcap(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
97 | msr_ctl = vmx_msr_high | vmx_msr_low |
99 | If msr_ctl & X86_VMX_FEATURE_PROC_CTLS_TPR_SHADOW Then set_cpu_cap(c, Intel TPR Shadow ) |
101 | If msr_ctl & X86_VMX_FEATURE_PROC_CTLS_VNMI Then set_cpu_cap(c, Intel Virtual NMI ) |
103 | If msr_ctl & X86_VMX_FEATURE_PROC_CTLS_2ND_CTLS Then |
106 | msr_ctl2 = vmx_msr_high | vmx_msr_low |
107 | If msr_ctl2 & X86_VMX_FEATURE_PROC_CTLS2_VIRT_APIC && msr_ctl & X86_VMX_FEATURE_PROC_CTLS_TPR_SHADOW Then set_cpu_cap(c, Intel FlexPriority ) |
110 | If msr_ctl2 & X86_VMX_FEATURE_PROC_CTLS2_EPT Then set_cpu_cap(c, Intel Extended Page Table ) |
112 | If msr_ctl2 & X86_VMX_FEATURE_PROC_CTLS2_VPID Then set_cpu_cap(c, Intel Virtual Processor ID ) |
Name | Describe |
---|---|
init_zhaoxin |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |