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:28
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:print_cpu_info

Proto:void print_cpu_info(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
1613  const char * vendor = NULL
1615  If CPU vendor < X86_VENDOR_NUM Then
1616  vendor = c_vendor
1617  Else
1618  If Maximum supported CPUID level, -1=no CPUID: >= 0 Then vendor = x86_vendor_id
1622  If vendor && Not strstr(x86_model_id, vendor) Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("%s ", vendor)
1625  If x86_model_id[0] Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("%s", x86_model_id)
1627  Else Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("%d86", CPU family )
1630  Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.(" (family: 0x%x, model: 0x%x", CPU family , x86_model)
1632  If x86_stepping || Maximum supported CPUID level, -1=no CPUID: >= 0 Then Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.(", stepping: 0x%x)\n", x86_stepping)
1634  Else Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.(")\n")
Caller
NameDescribe
check_bugs
native_smp_prepare_cpusPrepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support.