函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:generic_identify

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
1331  Max extended CPUID function supported: 等于0
1333  如果非Probe for the CPUID instruction identify_cpu_without_cpuid(c)
1337  如果非Probe for the CPUID instruction 则返回
1340  cpu_detect(c)
1342  get_cpu_vendor(c)
1344  get_cpu_cap(c)
1346  get_cpu_address_sizes(c)
1348  如果Maximum supported CPUID level, -1=no CPUID: 大于等于0x00000001则
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 )
调用者
名称描述
identify_cpuThis does the hard work of actually picking apart the CPU stuff...