函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:collect_cpu_info_early

函数原型:static int collect_cpu_info_early(struct ucode_cpu_info *uci)

返回类型:int

参数:

类型参数名称
struct ucode_cpu_info *uci
392  struct cpu_signature csig = {0}
395  memset(uci, 0, uci的长度)
397  eax等于0x00000001
398  ecx等于0
399  native_cpuid( & eax, & ebx, & ecx, & edx)
400  sig等于eax
402  family等于x86_family(eax)
403  model等于x86_model(eax)
405  如果model大于等于5或family大于6则
407  native_rdmsr(MSR_IA32_PLATFORM_ID, val[0], val[1])
408  pf等于1左移val[1]右移18位按位与7的值位
411  rev等于intel_get_microcode_revision()
413  cpu_sig等于csig
414  valid等于1
416  返回:0
调用者
名称描述
show_saved_mc
show_ucode_info_earlyPrint early updated ucode info after printk works. This is delayed info dump.
save_microcode_in_initrd_intel
__load_ucode_intel@res_patch, output: a pointer to the patch we found.
reload_ucode_intel