函数逻辑报告

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

函数名称:load_ucode_bsp

函数原型:void __init load_ucode_bsp(void)

返回类型:void

参数:

165  bool intel = true
167  如果非Probe for the CPUID instruction 则返回
170  cpuid_1_eax等于Native CPUID functions returning a single datum.
173  :In early loading microcode phase on BSP, boot_cpu_data is not set up yet.* x86_cpuid_vendor() gets vendor id for BSP.* In 32 bit AP case, accessing boot_cpu_data needs linear address. To simplify恒等于X86_VENDOR_INTEL
174  如果x86_family(cpuid_1_eax)小于6则返回
176  退出
178  :In early loading microcode phase on BSP, boot_cpu_data is not set up yet.* x86_cpuid_vendor() gets vendor id for BSP.* In 32 bit AP case, accessing boot_cpu_data needs linear address. To simplify恒等于X86_VENDOR_AMD
179  如果x86_family(cpuid_1_eax)小于0x10则返回
181  intel = false
182  退出
184  默认
185  返回
188  如果check_loader_disabled_bsp()则返回
191  如果intelload_ucode_intel_bsp()
193  否则load_ucode_amd_bsp(cpuid_1_eax)