函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-27 08:55:21 |
| Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:detect_num_cpu_cores
函数原型:void detect_num_cpu_cores(struct cpuinfo_x86 *c)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 659 | cpuid returned max cores value: 等于1 |
| 660 | 如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP)或Maximum supported CPUID level, -1=no CPUID: 小于4则返回 |
| 663 | cpuid_count(4, 0, & eax, & ebx, & ecx, & edx) |
| 664 | 如果eax按位与0x1f则cpuid returned max cores value: 等于eax右移26位的值加1 |
| 名称 | 描述 |
|---|---|
| init_intel | |
| init_centaur | |
| init_zhaoxin |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |