函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_uv_x.c Create Date:2022-07-27 09:33:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:uv_init_hub_info

函数原型:static void __init uv_init_hub_info(struct uv_hub_info_s *hi)

返回类型:void

参数:

类型参数名称
struct uv_hub_info_s *hi
1186  get_mn( & mn)
1187  gpa_mask等于如果m_val则1UL左移m_valn_val位的值减1否则1UL左移gpa_shift位的值减1
1191  m_val等于m_val
1192  n_val等于n_val
1193  m_shift等于m_shift
1194  n_lshift等于如果n_lshiftn_lshift否则0
1195  hub_revision等于hub_revision
1196  pnode_mask等于pnode_mask
1197  min_pnode等于_min_pnode
1198  min_socket等于_min_socket
1199  pnode_to_socket等于_pnode_to_socket
1200  socket_to_node等于_socket_to_node
1201  socket_to_pnode等于_socket_to_pnode
1202  gr_table_len等于_gr_table_len
1203  gr_table等于_gr_table
1205  v等于uv_read_local_mmr(UVH_NODE_ID )
1206  gnode_shift等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedint, gnode_shift, n_val)
1207  gnode_extra等于 RW 按位与1左移gnode_shift位的值减1的差的反的值右移1位
1208  如果m_valgnode_upper等于gnode_extra左移m_val
1211  如果uv_gp_table
1212  global_mmr_base等于mmr_base
1213  global_mmr_shift等于Convert PNode to MMR space offset
1214  global_gru_base等于gru_base
1215  global_gru_shift等于Convert PNode to GRU space offset
1216  gpa_shift等于Size of offset field in GRU phys addr
1217  gpa_mask等于1UL左移gpa_shift位的值减1
1218  否则
1219  global_mmr_base等于uv_read_local_mmr(s_uv4_hub)按位与This file contains MMR definitions for all UV hubs types.* To minimize coding differences between hub types, the symbols are* grouped by architecture types.* UVH - definitions common to all UV hub types.的反
1220  global_mmr_shift等于_UV_GLOBAL_MMR64_PNODE_SHIFT
1223  get_lowmem_redirect( & lowmem_remap_base, & lowmem_remap_top)
1225  apic_pnode_shift等于aka pnode_shift for UV1/2/3
1228  打印信息("UV: N:%d M:%d m_shift:%d n_lshift:%d\n", n_val, m_val, m_shift, n_lshift)
1229  打印信息("UV: gpa_mask/shift:0x%lx/%d pnode_mask:0x%x apic_pns:%d\n", gpa_mask, gpa_shift, pnode_mask, apic_pnode_shift)
1230  打印信息("UV: mmr_base/shift:0x%lx/%ld gru_base/shift:0x%lx/%ld\n", global_mmr_base, global_mmr_shift, global_gru_base, global_gru_shift)
1231  打印信息("UV: gnode_upper:0x%lx gnode_extra:0x%x\n", gnode_upper, gnode_extra)
调用者
名称描述
uv_system_init_hub