Function report |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-28 07:50:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Convert from a ptrace standard-format kernel buffer to kernel XSAVES format* and copy to the target thread. This is called from xstateregs_set().
Proto:int copy_kernel_to_xstate(struct xregs_state *xsave, const void *kbuf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct xregs_state * | xsave | |
const void * | kbuf |
1144 | offset = offsetof(structxregs_state, header) |
1149 | If Validate an xstate header supplied by userspace (ptrace or sigreturn) Then Return -EINVAL |
1152 | When i < XFEATURE_MAX cycle |
1166 | offset = offsetof(structfxregs_state, mxcsr) |
1168 | memcpy( & MXCSR Register State , kbuf + offset, size) |
1175 | xfeatures &= Supervisor features |
1182 | Return 0 |
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 |