函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_cpu_vendor

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
776  v等于x86_vendor_id
779 i小于X86_VENDOR_NUM循环
780  如果非cpu_devs[i]则退出
787  this_cpu等于cpu_devs[i]
789  返回
794  pr_err_once("CPU: vendor_id '%s' unknown, using generic init.\nCPU: Your system may be unstable.\n", v)
796  CPU vendor 等于X86_VENDOR_UNKNOWN
797  this_cpu等于default_cpu
调用者
名称描述
identify_cpu_without_cpuid
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