Function report |
Source Code:arch\x86\kernel\traps.c |
Create Date:2022-07-28 07:31:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Runs on an IST stack for x86_64 and on a special task stack for x86_32.* On x86_64, this is more or less a normal kernel entry. Notwithstanding the* SDM's warnings about double faults being unrecoverable, returning works as* expected
Proto:__attribute__((__externally_visible__)) void do_double_fault(struct pt_regs *regs, long error_code, unsigned long cr2)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pt_regs * | regs | |
| long | error_code | |
| unsigned long | cr2 |
| 328 | str[] = "double fault" |
| 329 | tsk = current process |
| 382 | notify_die(DIE_TRAP, str, regs, error_code, X86_TRAP_DF, SIGSEGV) |
| 384 | error_code = error_code |
| 385 | trap_nr = X86_TRAP_DF |
| 430 | die("double fault", regs, error_code) |
| Name | Describe |
|---|---|
| doublefault_shim | Called by double_fault with CR0.TS and EFLAGS.NT cleared. The CPU thinks* we're running the doublefault task. Cannot return. |
| 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 |