Function report |
Source Code:arch\x86\kernel\cpu\mce\core.c |
Create Date:2022-07-28 08:00:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline void mce_gather_info(struct mce *m, struct pt_regs *regs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mce * | m | |
| struct pt_regs * | regs |
| 439 | If regs Then |
| 444 | If Machine Check Global Status MSR & (start ip valid | p points to correct instruction ) Then |
| 446 | Code segment = cs |
| 453 | If v8086_mode(regs) Then Code segment |= 3 |
| Name | Describe |
|---|---|
| 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 |
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |