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

Name:generic_identify

Proto:static void generic_identify(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
1331  Max extended CPUID function supported: = 0
1333  If Not Probe for the CPUID instruction Then identify_cpu_without_cpuid(c)
1337  If Not Probe for the CPUID instruction Then Return
1340  cpu_detect(c)
1342  get_cpu_vendor(c)
1344  get_cpu_cap(c)
1346  get_cpu_address_sizes(c)
1348  If Maximum supported CPUID level, -1=no CPUID: >= 0x00000001 Then
1349  initial_apicid = cpuid_ebx(1) >> 24 & 0xFF
1354  apicid = initial_apicid
1357  Physical processor id: = initial_apicid
1360  get_model_name(c)
1362  detect_null_seg_behavior(c)
1385  set_cpu_bug(c, "" IRET to 16-bit SS corrupts ESP/RSP high bits )
Caller
NameDescribe
identify_cpuThis does the hard work of actually picking apart the CPU stuff...