Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:55:06
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_cpu_vendor

Proto:static void get_cpu_vendor(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
776  v = x86_vendor_id
779  When i < X86_VENDOR_NUM cycle
780  If Not cpu_devs[i] Then Break
787  this_cpu = cpu_devs[i]
789  Return
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
Caller
NameDescribe
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