函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-27 09:01:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:MSR access wrappers used for error injection
函数原型:static u64 mce_rdmsrl(unsigned int msr)
返回类型:u64
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | msr |
399 | 如果offset小于0则返回:0 |
401 | 返回:*this_cpu_ptr( & injectm)加offset的和 |
404 | 如果rdmsrl_safe(msr, & v)则 |
414 | 返回:v |
名称 | 描述 |
---|---|
mce_gather_info | Collect all global (w.r.t. this processor) status about this machine* check into our "mce" struct so that we can use it later to assess* the severity of the problem as we read per-bank specific details. |
mce_read_aux | Read ADDR and MISC registers. |
machine_check_poll | Poll for corrected events or events that happened before reset.* Those are just logged through /dev/mcelog.* This is executed in standard interrupt context.* Note: spec recommends to panic for fatal unsignalled* errors here |
mce_no_way_out | Do a quick check if any of the events requires a panic.* This decides if we keep the events around or clear them. |
__mc_check_crashing_cpu | Cases where we avoid rendezvous handler timeout:* 1) If this CPU is offline |
__mc_scan_banks |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |