函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-27 08:55:43 |
Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This does the hard work of actually picking apart the CPU stuff...
函数原型:static void identify_cpu(struct cpuinfo_x86 *c)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
1435 | CPU vendor 等于X86_VENDOR_UNKNOWN |
1436 | x86_model等于x86_stepping等于0 |
1437 | x86_vendor_id[0]等于'\0' |
1438 | x86_model_id[0]等于'\0' |
1439 | cpuid returned max cores value: 等于1 |
1440 | CPUID returned core id bits: 等于0 |
1441 | cu_id等于0xff |
1443 | x86_clflush_size等于64 |
1444 | x86_phys_bits等于36 |
1445 | x86_virt_bits等于48 |
1452 | In bytes 等于x86_clflush_size |
1453 | memset( & x86_capability, 0, x86_capability的长度) |
1455 | generic_identify(c) |
1457 | 如果c_identify则c_identify(c) |
1461 | apply_forced_caps(c) |
1464 | apicid等于phys_pkg_id(initial_apicid, 0) |
1484 | setup_smep(c) |
1485 | setup_smap(c) |
1486 | setup_umip(c) |
1494 | filter_cpuid_features(c, true) |
1497 | 如果非x86_model_id[0]则 |
1513 | x86_init_cache_qos(c) |
1520 | apply_forced_caps(c) |
1528 | 如果c不等于common cpu data for all cpus 则 |
1530 | 以i小于N 32-bit words worth of info 循环x86_capability[i]与等于x86_capability[i] |
1539 | mcheck_cpu_init(c) |
1541 | select_idle_routine(c) |
1544 | numa_add_cpu(当前cpu ID()) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |