| Function report | 
| Source Code: arch\x86\kernel\apic\x2apic_uv_x.c | Create Date:2022-07-28 08:34:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:decode_gam_rng_tbl
Proto:static void __init decode_gam_rng_tbl(unsigned long ptr)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | ptr | 
| 1248 | lgre = 0 | 
| 1249 | index = 0 | 
| 1253 | uv_gre_table = gre | 
| 1254 | When Entry type: GAM_RANGE_TYPE_UNUSED, etc. != End of table cycle | 
| 1255 | size = PA bits 56:26 (UV_GAM_RANGE_SHFT) - lgre << 64MB | 
| 1257 | order = 0 | 
| 1258 | suffix[] = " KMGTPE" | 
| 1259 | flag = ' ' | 
| 1267 | If Entry type: GAM_RANGE_TYPE_UNUSED, etc. == 1 || Entry type: GAM_RANGE_TYPE_UNUSED, etc. == 2 Then If adj_blksize(lgre) Then | 
| 1269 | flag = '*' | 
| 1271 | If Not index Then | 
| 1272 | pr_info("UV: GAM Range Table...\n") | 
| 1273 | pr_info("UV: # %20s %14s %6s %4s %5s %3s %2s\n", "Range", "", "Size", "Type", "NASID", "SID", "PN") | 
| 1275 | pr_info("UV: %2d: 0x%014lx-0x%014lx%c %5lu%c %3d %04x %02x %02x\n", index++, (unsignedlong)lgre << 64MB , (unsignedlong) PA bits 56:26 (UV_GAM_RANGE_SHFT) << 64MB , flag, size, suffix[order], Entry type: GAM_RANGE_TYPE_UNUSED, etc. , HNasid , Socket ID, high bits of APIC ID , Index to MMR and GRU spaces ) | 
| 1284 | If sock_min > Socket ID, high bits of APIC ID Then sock_min = Socket ID, high bits of APIC ID | 
| 1286 | If sock_max < Socket ID, high bits of APIC ID Then sock_max = Socket ID, high bits of APIC ID | 
| 1288 | If pnode_min > Index to MMR and GRU spaces Then pnode_min = Index to MMR and GRU spaces | 
| 1290 | If pnode_max < Index to MMR and GRU spaces Then pnode_max = Index to MMR and GRU spaces | 
| 1293 | _min_socket = sock_min | 
| 1294 | _max_socket = sock_max | 
| 1295 | _min_pnode = pnode_min | 
| 1296 | _max_pnode = pnode_max | 
| 1297 | _gr_table_len = index | 
| 1299 | pr_info("UV: GRT: %d entries, sockets(min:%x,max:%x) pnodes(min:%x,max:%x)\n", index, _min_socket, _max_socket, _min_pnode, _max_pnode) | 
| Name | Describe | 
|---|---|
| decode_uv_systab | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |