函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\match.c Create Date:2022-07-27 08:55:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match)

返回类型:struct x86_cpu_id

参数:

类型参数名称
const struct x86_cpu_id *match
35  c等于common cpu data for all cpus
37 vendor按位或family按位或model按位或 bit index 循环
38  如果vendor不等于X86_VENDOR_ANYCPU vendor 不等于vendor则继续下一循环
40  如果family不等于X86_FAMILY_ANYCPU family 不等于family则继续下一循环
42  如果model不等于X86_MODEL_ANYx86_model不等于model则继续下一循环
44  如果 bit index 不等于Same as FPU, you can't test for that 且非cpu_has(c, bit index )则继续下一循环
46  返回:m
48  返回:NULL
调用者
名称描述
cpu_matches
match_llc
apic_check_deadline_errata
cpu_khz_from_msrMSR-based CPU/TSC frequency discovery for certain CPUs.* Set global "lapic_timer_period" to bus_clock_cycles/jiffy* Return processor base frequency in KHz, or 0 on failure.