函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |