函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-27 09:01:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Start of Monarch synchronization. This waits until all CPUs have* entered the exception handler and then determines if any of them* saw a fatal event that requires panic. Then it executes them* in the entry order.* TBD double check parallel CPU hotunplug
函数原型:static int mce_start(int *no_way_out)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int * | no_way_out |
| 960 | cpus等于num_online_cpus() |
| 963 | 如果非timeout则返回:负1 |
| 966 | atomic_add( * no_way_out, & global_nwo) |
| 979 | atomic_set( & global_nwo, 0) |
| 980 | 返回:负1 |
| 988 | smp_rmb() |
| 990 | 如果order恒等于1则 |
| 995 | 否则 |
| 1005 | atomic_set( & global_nwo, 0) |
| 1006 | 返回:负1 |
| 1015 | no_way_out等于atomic_read( & global_nwo) |
| 1017 | 返回:order |
| 名称 | 描述 |
|---|---|
| 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 插件可实现:逻辑报告 代码生成和批量转换代码 |