Function report |
Source Code:arch\x86\kernel\traps.c |
Create Date:2022-07-28 07:32:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Note that we play around with the 'TS' bit in an attempt to get* the correct behaviour even in the presence of the asynchronous* IRQ13 behaviour
Proto:static void math_error(struct pt_regs *regs, int error_code, int trapnr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pt_regs * | regs | |
| int | error_code | |
| int | trapnr |
| 824 | task = current process |
| 827 | str = If trapnr == X86_TRAP_MF Then "fpu exception" Else "simd exception" |
| 833 | If fixup_exception(regs, trapnr, error_code, 0) Then Return |
| 836 | error_code = error_code |
| 839 | If notify_die(DIE_TRAP, str, regs, error_code, trapnr, SIGFPE) != Clean way to return from the notifier and stop further calls. Then die(str, regs, error_code) |
| 842 | Return |
| 851 | error_code = error_code |
| 853 | si_code = fpu__exception_code(fpu, trapnr) |
| 855 | If Not si_code Then Return |
| 858 | force_sig_fault(SIGFPE, si_code, (void__user * )uprobe_get_trap_addr(regs)) |
| Name | Describe |
|---|---|
| do_coprocessor_error | |
| do_simd_coprocessor_error |
| 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 |