函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\amd.c Create Date:2022-07-27 09:03:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:smca_get_block_address

函数原型:static unsigned int smca_get_block_address(unsigned int bank, unsigned int block, unsigned int cpu)

返回类型:unsigned int

参数:

类型参数名称
unsigned intbank
unsigned intblock
unsigned intcpu
481  如果非block则返回:MSR_AMD64_SMCA_MCx_MISC(bank)
484  如果非per_cpu(Map of banks that have more than MCA_MISC0 available. , cpu)按位与BIT(bank)的值则返回:0
487  返回:MSR_AMD64_SMCA_MCx_MISCy(bank, block - 1)
调用者
名称描述
get_block_address