函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\core.c Create Date:2022-07-27 08:49:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Activate the current task's in-memory FPU context,* if it has not been used before:

函数原型:static void fpu__initialize(struct fpu *fpu)

返回类型:void

参数:

类型参数名称
struct fpu *fpu
216  WARN_ON_FPU(fpu != & fpu)
218  set_thread_flag(load FPU on return to userspace )
219  fpstate_init( & @state:* In-memory copy of all FPU registers that we save/restore* over context switches. If the task is using the FPU then* the registers in the FPU are more recent than this state* copy. If the task context-switches away then they get)
220  trace_x86_fpu_init_state(fpu)
调用者
名称描述
fpu__clearClear the FPU state back to init state.* Called by sys_execve(), by the signal handler code and by various* error paths.