函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-27 08:58:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Fix up cpu_core_id for pre-F17h systems to be in the* [0 .. cores_per_node - 1] range. Not really needed but* kept so as not to break existing setups.
函数原型:static void legacy_fixup_core_id(struct cpuinfo_x86 *c)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuinfo_x86 * | c |
316 | 如果CPU family 大于等于0x17则返回 |
319 | cus_per_node等于cpuid returned max cores value: 除des_per_socket: Stores the number of nodes per socket.* Refer to Fam15h Models 00-0fh BKDG - CPUID Fn8000_001E_ECX* Node Identifiers[10:8] |
320 | Core id: 取模等于cus_per_node |
名称 | 描述 |
---|---|
amd_get_topology | 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |