Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\microcode.h Create Date:2022-07-28 07:39:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline int x86_cpuid_vendor(void)

Type:int

Parameter:Nothing

105  eax = 0x00000000
106  ecx = 0
108  native_cpuid( & eax, & ebx, & ecx, & edx)
110  If CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx) Then Return X86_VENDOR_INTEL
113  If CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx) Then Return X86_VENDOR_AMD
116  Return X86_VENDOR_UNKNOWN
Caller
NameDescribe
check_loader_disabled_bsp
load_ucode_bsp
load_ucode_ap
reload_early_microcode