Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\signal.c Create Date:2022-07-28 07:50:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sanitize_restored_xstate

Proto:static inline void sanitize_restored_xstate(union fpregs_state *state, struct user_i387_ia32_struct *ia32_env, u64 xfeatures, int fx_only)

Type:void

Parameter:

TypeParameterName
union fpregs_state *state
struct user_i387_ia32_struct *ia32_env
u64xfeatures
intfx_only
218  xsave = xsave
219  header = header
221  If use_xsave() Then
232  If fx_only Then xfeatures = XFEATURE_MASK_FPSSE
234  Else xfeatures &= xfeatures
238  If use_fxsr() Then
243  MXCSR Register State &= Boot time FPU feature detection code:
245  If ia32_env Then convert_to_fxsr( & fxsave, ia32_env)
Caller
NameDescribe
__fpu__restore_sig