函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-27 08:55:32
Last Modify:2020-03-16 20:28:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:identify_cpu_without_cpuid

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
1003  如果Standard macro to see if a specific flag is changeable CPU family 等于4
1005  否则CPU family 等于3
1008 i小于X86_VENDOR_NUM循环如果cpu_devs[i]且c_identify
1010  x86_vendor_id[0]等于0
1011  c_identify(c)
1012  如果x86_vendor_id[0]则
1013  get_cpu_vendor(c)
1014  退出
调用者
名称描述
early_identify_cpuDo minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code
generic_identify