Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\microcode\amd.c Create Date:2022-07-28 08:09:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:save_microcode_in_initrd_amd

Proto:int __init save_microcode_in_initrd_amd(unsigned int cpuid_1_eax)

Type:int

Parameter:

TypeParameterName
unsigned intcpuid_1_eax
546  struct cont_desc desc = {0}
550  cp = find_microcode_in_initrd(Microcode patch container file is prepended to the initrd in cpio* format. See Documentation/x86/microcode.rst, false)
551  If Not (data && size) Then Return -EINVAL
554  cpuid_1_eax = cpuid_1_eax
556  Scan the ucode blob for the proper container as we can have multiple* containers glued together.
557  If Not mc Then Return -EINVAL
560  ret = load_microcode_amd(true, x86_family(cpuid_1_eax), data, size)
561  If ret > UCODE_UPDATED Then Return -EINVAL
564  Return 0