函数逻辑报告

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:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:map_high

函数原型:static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, enum map_type map_type)

返回类型:void

参数:

类型参数名称
char *id
unsigned longbase
intpshift
intbshift
intmax_pnode
enum map_typemap_type
787  paddr等于base左移pshift
788  bytes等于1UL左移bshift位的值乘max_pnode加1的和
789  如果非paddr
790  打印信息("UV: Map %s_HI base address NULL\n", id)
791  返回
793  pr_debug("UV: Map %s_HI 0x%lx - 0x%lx\n", id, paddr, paddr + bytes)
794  如果map_type恒等于map_ucinit_extra_mapping_uc(paddr, bytes)
796  否则init_extra_mapping_wb(paddr, bytes)
调用者
名称描述
map_gru_high
map_mmr_high
map_mmioh_high_uv34UV3/4 have identical MMIOH overlay configs, UV4A is slightly different
map_mmioh_high