函数逻辑报告

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

函数名称:map_mmioh_high

函数原型:static __init void map_mmioh_high(int min_pnode, int max_pnode)

返回类型:void

参数:

类型参数名称
intmin_pnode
intmax_pnode
973  如果is_uv3_hub()或is_uv4_hub()则
975  UV3/4 have identical MMIOH overlay configs, UV4A is slightly different
976  UV3/4 have identical MMIOH overlay configs, UV4A is slightly different
977  返回
980  如果WARNING: UVx_HUB_IS_SUPPORTED defines are deprecated and will be removed
981  mmr等于UVH_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR
982  shift等于UV1H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_SHFT
983  v等于uv_read_local_mmr(mmr)
984  enable等于非非 RW
985  base等于 RW
986  m_io等于 RW
987  n_io等于 RW
988  否则如果is_uv2_hub()则
989  mmr等于UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR
990  shift等于UV2H_RH_GAM_MMIOH_OVERLAY_CONFIG_MMR_BASE_SHFT
991  v等于uv_read_local_mmr(mmr)
992  enable等于非非 RW
993  base等于 RW
994  m_io等于 RW
995  n_io等于 RW
996  否则
997  返回
1000  如果enable
1001  max_pnode与等于1左移n_io位的值减1
1002  打印信息("UV: base:0x%lx shift:%d N_IO:%d M_IO:%d max_pnode:0x%x\n", base, shift, m_io, n_io, max_pnode)
1003  map_high("MMIOH", base, shift, m_io, max_pnode, map_uc)
1004  否则
1005  打印信息("UV: MMIOH disabled\n")
调用者
名称描述
uv_system_init_hub