Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns 1 if update has been found, 0 otherwise.

Proto:static int find_matching_signature(void *mc, unsigned int csig, int cpf)

Type:int

Parameter:

TypeParameterName
void *mc
unsigned intcsig
intcpf
67  mc_hdr = mc
72  If cpu_signatures_match(csig, cpf, sig, pf) Then Return 1
76  If get_totalsize(mc_hdr) <= get_datasize(mc_hdr) + MC_HEADER_SIZE Then Return 0
79  ext_hdr = mc + get_datasize(mc_hdr) + MC_HEADER_SIZE
80  ext_sig = ext_hdr + EXT_HEADER_SIZE
82  When i < count cycle
83  If cpu_signatures_match(csig, cpf, sig, pf) Then Return 1
85  ext_sig++
87  Return 0
Caller
NameDescribe
has_newer_microcodeReturns 1 if update has been found, 0 otherwise.
save_microcode_patch
find_patch