Function report |
Source Code:arch\x86\kernel\traps.c |
Create Date:2022-07-28 07:31:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_trap_no_signal
Proto:static inline __attribute__((__always_inline__)) int do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, struct pt_regs *regs, long error_code)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
int | trapnr | |
const char * | str | |
struct pt_regs * | regs | |
long | error_code |
191 | If v8086_mode(regs) Then |
196 | If trapnr < X86_TRAP_UD Then |
197 | If Not handle_vm86_trap((structkernel_vm86_regs * )regs, error_code, trapnr) Then Return 0 |
201 | Else if Not ser_mode(regs) determines whether a register set came from user* mode Then |
202 | If fixup_exception(regs, trapnr, error_code, 0) Then Return 0 |
205 | error_code = error_code |
207 | die(str, regs, error_code) |
219 | error_code = error_code |
222 | Return -1 |
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 |