函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static inline int x86_cpuid_vendor(void)

返回类型:int

参数:

105  eax等于0x00000000
106  ecx等于0
108  native_cpuid( & eax, & ebx, & ecx, & edx)
110  如果CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx)则返回:X86_VENDOR_INTEL
113  如果CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx)则返回:X86_VENDOR_AMD
116  返回:X86_VENDOR_UNKNOWN
调用者
名称描述
check_loader_disabled_bsp
load_ucode_bsp
load_ucode_ap
reload_early_microcode