函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\microcode\core.c Create Date:2022-07-27 09:07:58
Last Modify:2020-03-16 20:13:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:microcode_init_cpu

函数原型:static enum ucode_state microcode_init_cpu(int cpu, bool refresh_fw)

返回类型:enum ucode_state

参数:

类型参数名称
intcpu
boolrefresh_fw
708  uci等于ucode_cpu_infocpu
710  如果valid则返回:UCODE_OK
713  如果collect_cpu_info(cpu)则返回:UCODE_ERROR
717  如果Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.不等于SYSTEM_RUNNING则返回:UCODE_NFOUND
720  ustate等于request_microcode_fw(cpu, & dev, refresh_fw)
721  如果ustate恒等于UCODE_NEW
722  pr_debug("CPU%d updated upon init\n", cpu)
723  apply_microcode_on_target(cpu)
726  返回:ustate
调用者
名称描述
microcode_update_cpu
mc_device_add