函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:x86_model

函数原型:unsigned int x86_model(unsigned int sig)

返回类型:unsigned int

参数:

类型参数名称
unsigned intsig
23  fam等于x86_family(sig)
25  model等于sig右移4位按位与0xf
27  如果fam大于等于0x6则model加等于sig右移16位按位与0xf的值左移4位
30  返回:model
调用者
名称描述
microcode_matchesGiven CPU signature and a microcode patch, this function finds if the* microcode patch has matching family and model with the CPU.* %true - if there's a match* %false - otherwise
collect_cpu_info_early
load_builtin_intel_microcode
cpu_detect