函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\uv\uv_hub.h Create Date:2022-07-27 09:32:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:socket phys RAM --> UV global physical address

函数原型:static inline unsigned long uv_soc_phys_ram_to_gpa(unsigned long paddr)

返回类型:unsigned long

参数:

类型参数名称
unsigned longpaddr
477  m_val等于m_val
479  如果paddr小于lowmem_remap_toppaddr或等于lowmem_remap_base
482  如果m_val
483  paddr或等于gnode_upper
484  paddr等于paddr左移m_shift位右移m_shift位按位或paddr右移m_val位左移n_lshift
488  否则
489  paddr或等于socket phys RAM --> UV global NASID (UV4+) 左移gpa_shift
492  返回:paddr
调用者
名称描述
uv_system_init_hub
uv_gpasocket virtual --> UV global physical address