函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\hygon.c |
Create Date:2022-07-27 08:59:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Fixup core topology information for* (1) Hygon multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) Hygon processors supporting compute units
函数原型:static void hygon_get_topology(struct cpuinfo_x86 *c)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
81 | 如果Number of siblings per CPU package 大于1则cpuid returned max cores value: 除等于Number of siblings per CPU package |
96 | 否则如果cpu_has(c, NodeId MSR )则 |
103 | 否则返回 |
106 | 如果des_per_socket: Stores the number of nodes per socket.* Refer to CPUID Fn8000_001E_ECX Node Identifiers[10:8]大于1则set_cpu_cap(c, AMD multi-node processor ) |
名称 | 描述 |
---|---|
init_hygon |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |