函数逻辑报告

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:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__load_ucode_amd

函数原型:static void __load_ucode_amd(unsigned int cpuid_1_eax, struct cpio_data *ret)

返回类型:void

参数:

类型参数名称
unsigned intcpuid_1_eax
struct cpio_data *ret
480  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_X86_32)则
481  uci等于__pa_nodebug(ucode_cpu_info)
482  path等于__pa_nodebug(Microcode patch container file is prepended to the initrd in cpio* format. See Documentation/x86/microcode.rst)
483  use_pa = true
484  否则
485  uci等于ucode_cpu_info
486  path等于Microcode patch container file is prepended to the initrd in cpio* format. See Documentation/x86/microcode.rst
487  use_pa = false
490  如果非get_builtin_microcode( & cp, x86_family(cpuid_1_eax))则cp等于find_microcode_in_initrd(path, use_pa)
494  sig等于cpuid_1_eax
496  ret等于cp
调用者
名称描述
load_ucode_amd_bsp
load_ucode_amd_ap