函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-27 08:58:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Fixup core topology information for* (1) AMD multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) AMD processors supporting compute units
函数原型:static void amd_get_topology(struct cpuinfo_x86 *c)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
350 | 如果CPU family 恒等于0x15则cu_id等于ebx按位与0xff |
353 | 如果CPU family 大于等于0x17则 |
364 | err等于Check for extended topology enumeration cpuid leaf, and if it* exists, use it for populating initial_apicid and cpu topology* detection. |
368 | cacheinfo_amd_init_llc_id(c, cpu, node_id) |
370 | 否则如果cpu_has(c, NodeId MSR )则 |
373 | rdmsrl(MSR_FAM10H_NODE_ID, value) |
377 | 否则返回 |
381 | set_cpu_cap(c, AMD multi-node processor ) |
名称 | 描述 |
---|---|
init_amd |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |