函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_zhaoxin

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
119  early_init_zhaoxin(c)
120  init_intel_cacheinfo(c)
121  detect_num_cpu_cores(c)
123  detect_ht(c)
126  如果Maximum supported CPUID level, -1=no CPUID: 大于9则
127  eax等于CPUID functions returning a single datum
134  如果eax按位与0xff且eax右移8位按位与0xff的值大于1则set_cpu_cap(c, Intel Architectural PerfMon )
138  如果CPU family 大于等于0x6则init_zhaoxin_cap(c)
141  set_cpu_cap(c, "" LFENCE synchronizes RDTSC )
144  如果cpu_has(c, Hardware virtualization )则zhaoxin_detect_vmx_virtcap(c)