函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\signal.c |
Create Date:2022-07-27 08:50:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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'.
函数原型:int copy_fpstate_to_sigframe(void __user *buf, void __user *buf_fx, int size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void __user * | buf | |
void __user * | buf_fx | |
int | size |
167 | ia32_fxstate等于buf不等于buf_fx |
176 | 如果非static_cpu_has(Onboard FPU )则返回:如果fpregs_soft_get(当前进程, NULL, 0, sizeof(structuser_i387_ia32_struct), NULL, (struct_fpstate_32__user * )buf)则负1否则1 |
181 | retry : |
189 | 如果test_thread_flag(load FPU on return to userspace )则Internal helper, do not use directly. Use switch_fpu_return() instead. |
193 | ret等于copy_fpregs_to_sigframe(buf_fx) |
194 | pagefault_enable() |
195 | fpregs_unlock() |
197 | 如果ret则 |
200 | 返回:负EFAULT |
204 | 如果ia32_fxstate或非use_fxsr()的值且Signal frame handlers.则返回:负1 |
207 | 如果use_fxsr()且save_xstate_epilog(buf_fx, ia32_fxstate)则返回:负1 |
210 | 返回:0 |
名称 | 描述 |
---|---|
get_sigframe |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |