函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns 1 if update has been found, 0 otherwise.

函数原型:static int find_matching_signature(void *mc, unsigned int csig, int cpf)

返回类型:int

参数:

类型参数名称
void *mc
unsigned intcsig
intcpf
67  mc_hdr等于mc
72  如果cpu_signatures_match(csig, cpf, sig, pf)则返回:1
76  如果get_totalsize(mc_hdr)小于等于get_datasize(mc_hdr)加MC_HEADER_SIZE则返回:0
79  ext_hdr等于mcget_datasize(mc_hdr)加MC_HEADER_SIZE
80  ext_sig等于ext_hdrEXT_HEADER_SIZE
82 i小于count循环
83  如果cpu_signatures_match(csig, cpf, sig, pf)则返回:1
85  ext_sig自加
87  返回:0
调用者
名称描述
has_newer_microcodeReturns 1 if update has been found, 0 otherwise.
save_microcode_patch
find_patch