函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Scan the ucode blob for the proper container as we can have multiple* containers glued together.

函数原型:static void scan_containers(u8 *ucode, size_t size, struct cont_desc *desc)

返回类型:void

参数:

类型参数名称
u8 *ucode
size_tsize
struct cont_desc *desc
378 size循环
379  s等于This scans the ucode blob for the proper container as we can have multiple* containers glued together. Returns the equivalence ID from the equivalence* table or 0 if none found.* Returns the amount of bytes consumed while scanning. @desc contains all the
380  如果非s则返回
384  如果size大于等于s
385  ucode加等于s
386  size减等于s
387  否则
388  返回
调用者
名称描述
apply_microcode_early_amdEarly load occurs before we can vmalloc()
save_microcode_in_initrd_amd