Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\x2apic_uv_x.c Create Date:2022-07-28 08:34:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:map_high

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

Type:void

Parameter:

TypeParameterName
char *id
unsigned longbase
intpshift
intbshift
intmax_pnode
enum map_typemap_type
787  paddr = base << pshift
788  bytes = (1UL << bshift) * (max_pnode + 1)
789  If Not paddr Then
790  pr_info("UV: Map %s_HI base address NULL\n", id)
791  Return
793  pr_debug("UV: Map %s_HI 0x%lx - 0x%lx\n", id, paddr, paddr + bytes)
794  If map_type == map_uc Then init_extra_mapping_uc(paddr, bytes)
796  Else init_extra_mapping_wb(paddr, bytes)
Caller
NameDescribe
map_gru_high
map_mmr_high
map_mmioh_high_uv34UV3/4 have identical MMIOH overlay configs, UV4A is slightly different
map_mmioh_high