Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\scattered.c Create Date:2022-07-28 07:54:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_scattered_cpuid_features

Proto:void init_scattered_cpuid_features(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
53  When feature cycle
56  max_level = CPUID functions returning a single datum
57  If max_level < level || max_level > (level | 0xffff) Then Continue
61  cpuid_count(level, sub_leaf, & regs[CPUID_EAX], & regs[CPUID_EBX], & regs[CPUID_ECX], & regs[CPUID_EDX])
65  If regs[reg] & 1 << bit Then set_cpu_cap(c, feature)
Caller
NameDescribe
get_cpu_cap