Function report |
Source Code:arch\x86\kernel\fpu\signal.c |
Create Date:2022-07-28 07:50:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Signal frame handlers.
Proto:static inline int save_fsave_header(struct task_struct *tsk, void __user *buf)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| void __user * | buf |
| 60 | If use_fxsr() Then |
| 66 | If Not test_thread_flag(load FPU on return to userspace ) Then copy_fxregs_to_kernel( & Floating point and extended processor state ) |
| 68 | fpregs_unlock() |
| 72 | If __copy_to_user(buf, & env, size of env ) || Write a simple value into user space, with less checking(Status Word , & status) || Write a simple value into user space, with less checking(X86_FXSR_MAGIC, & 0xffff: regular FPU data only ) Then Return -1 |
| 76 | Else |
| 83 | Return 0 |
| Name | Describe |
|---|---|
| copy_fpstate_to_sigframe | Save the fpu, extended register state to the user signal frame.* 'buf_fx' is the 64-byte aligned pointer at which the [f|fx|x]save* state is copied.* 'buf' points to the 'buf_fx' or to the fsave header followed by 'buf_fx'. |
| 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 |