Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:x86_match_cpu - match current CPU again an array of x86_cpu_ids*@match: Pointer to array of x86_cpu_ids. Last entry terminated with* {}.* Return the entry if the current CPU matches the entries in the* passed x86_cpu_id match table

Proto:const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match)

Type:struct x86_cpu_id

Parameter:

TypeParameterName
const struct x86_cpu_id *match
35  c = common cpu data for all cpus
37  When vendor | family | model | bit index cycle
38  If vendor != X86_VENDOR_ANY && CPU vendor != vendor Then Continue
40  If family != X86_FAMILY_ANY && CPU family != family Then Continue
42  If model != X86_MODEL_ANY && x86_model != model Then Continue
44  If bit index != Same as FPU, you can't test for that && Not cpu_has(c, bit index ) Then Continue
46  Return m
48  Return NULL
Caller
NameDescribe
cpu_matches
match_llc
apic_check_deadline_errata