函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_therm_status

函数原型:static void get_therm_status(int level, bool *proc_hot, u8 *temp)

返回类型:void

参数:

类型参数名称
intlevel
bool *proc_hot
u8 *temp
224  如果level恒等于CORE_LEVELmsr等于MSR_IA32_THERM_STATUS
226  否则msr等于MSR_IA32_PACKAGE_THERM_STATUS
229  rdmsrl(msr, msr_val)
230  如果msr_val按位与THERM_STATUS_PROCHOT_LOG则 * proc_hot = true
232  否则 * proc_hot = false
235  temp等于msr_val右移16位按位与0x7F
调用者
名称描述
throttle_active_work
therm_throt_processherm_throt_process - Process thermal throttling event from interrupt*@curr: Whether the condition is current or not (boolean), since the* thermal interrupt normally gets called both when the thermal* event begins and once the event has ended