函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-27 09:00:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mce_panic
函数原型:static void mce_panic(const char *msg, struct mce *final, char *exp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | msg | |
struct mce * | final | |
char * | exp |
315 | apei_err等于0 |
319 | 如果非fake_panic则 |
323 | 如果atomic_inc_return( & mce_panicked)大于1则Panic in progress. Enable interrupts and wait for final IPI |
327 | bust_spinlocks(1) |
328 | console_verbose() |
329 | 否则 |
331 | 如果atomic_inc_return( & mce_fake_panicked)大于1则返回 |
338 | 如果非Bank's MCi_STATUS MSR 按位与uncorrected error 的值则 |
340 | 如果非apei_err则apei_err等于apei_write_mce(m) |
347 | 如果非Bank's MCi_STATUS MSR 按位与uncorrected error 的值则继续下一循环 |
355 | 如果final则 |
364 | 如果非fake_panic则 |
365 | 如果panic_timeout恒等于0则panic_timeout等于panic_timeout |
名称 | 描述 |
---|---|
mce_timed_out | Check if a timeout waiting for other CPUs happened. |
mce_reign | The Monarch's reign |
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 插件可实现:逻辑报告 代码生成和批量转换代码 |