函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-27 08:55:24 |
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_cpu_vendor
函数原型:static void get_cpu_vendor(struct cpuinfo_x86 *c)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 776 | v等于x86_vendor_id |
| 779 | 以i小于X86_VENDOR_NUM循环 |
| 783 | 如果非字符串比较或some have two possibilities for cpuid string [1]且非字符串比较则 |
| 794 | pr_err_once("CPU: vendor_id '%s' unknown, using generic init.\nCPU: Your system may be unstable.\n", v) |
| 796 | CPU vendor 等于X86_VENDOR_UNKNOWN |
| 797 | this_cpu等于default_cpu |
| 名称 | 描述 |
|---|---|
| identify_cpu_without_cpuid | |
| early_identify_cpu | Do minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code |
| generic_identify |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |