函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lcsr_address

函数原型:static inline void *lcsr_address(unsigned long offset)

返回类型:void

参数:

类型参数名称
unsigned longoffset
41  返回:__va(Local CSR space starts in global CSR space with "nodeid" = 0xfff0, however* when using the direct mapping on x86_64, both start and size needs to be* aligned with PMD_SIZE which is 2M | (1UL << 15) | CSR_NODE_BITS(0xfff0) | (offset & 32K CSR space, b15 indicates geo/non-geo ))
调用者
名称描述
read_lcsr
write_lcsr