函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\amd.c |
Create Date:2022-07-27 09:03:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lvt_off_valid
函数原型:static int lvt_off_valid(struct threshold_block *b, int apic, unsigned int lo, unsigned int hi)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct threshold_block * | b | |
int | apic | |
unsigned int | lo | |
unsigned int | hi |
349 | msr等于hi按位与MASK_LVTOFF_HI的值右移20位 |
351 | 如果apic小于0则 |
352 | 打印错误信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"cpu %d, failed to setup threshold interrupt for bank %d, block %d (MSR%08X=0x%x%08x)\n", CPU which controls MCA bank , MCA bank the block belongs to , Number within bank , MSR address for the block , hi, lo) |
355 | 返回:0 |
367 | 打印错误信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"cpu %d, invalid threshold interrupt offset %d for bank %d, block %d (MSR%08X=0x%x%08x)\n", CPU which controls MCA bank , apic, MCA bank the block belongs to , Number within bank , MSR address for the block , hi, lo) |
370 | 返回:0 |
373 | 返回:1 |
名称 | 描述 |
---|---|
threshold_restart_bank | Reprogram MCx_MISC MSR behind this threshold bank. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |