函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-27 09:01:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__mc_scan_banks
函数原型:static void __mc_scan_banks(struct mce *m, struct mce *final, unsigned long *toclear, unsigned long *valid_banks, int no_way_out, int *worst)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mce * | m | |
struct mce * | final | |
unsigned long * | toclear | |
unsigned long * | valid_banks | |
int | no_way_out | |
int * | worst |
1153 | mce_banks等于this_cpu_ptr(mce_banks_array) |
1159 | 如果非st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则继续下一循环 |
1162 | 如果非 subevents to enable 则继续下一循环 |
1165 | Bank's MCi_MISC MSR 等于0 |
1166 | Bank's MCi_ADDR MSR 等于0 |
1170 | 如果非Bank's MCi_STATUS MSR 按位与valid error 的值则继续下一循环 |
1177 | 如果非Bank's MCi_STATUS MSR 按位与如果ser则Signaled machine check 否则uncorrected error 的值且非no_way_out则继续下一循环 |
1184 | severity等于mce_severity(m, tolerant, NULL, true) |
1190 | 如果severity恒等于MCE_KEEP_SEVERITY或severity恒等于MCE_UCNA_SEVERITY的值且非no_way_out则继续下一循环 |
1197 | 如果severity恒等于MCE_NO_SEVERITY则继续下一循环 |
1203 | Error severity 等于severity |
名称 | 描述 |
---|---|
do_machine_check | The actual machine check handler. This only handles real* exceptions when something got corrupted coming in through int 18.* This is executed in NMI context not subject to normal locking rules. This* implies that most kernel services cannot be safely used |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |