Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:fpstate_init

Proto:void fpstate_init(union fpregs_state *state)

Type:void

Parameter:

TypeParameterName
union fpregs_state *state
151  If Not static_cpu_has(Onboard FPU ) Then
152  fpstate_init_soft( & soft)
153  Return
156  memset(state, 0, Size of the FPU context state. All tasks in the system use the* same context size, regardless of what portion they use.* This is inherent to the XSAVE architecture which puts all state* components into a single, continuous memory block:)
158  If static_cpu_has(XSAVES/XRSTORS instructions ) Then fpstate_init_xstate( & xsave)
160  If static_cpu_has(FXSAVE/FXRSTOR, CR4.OSFXSR ) Then fpstate_init_fxstate( & fxsave)
162  Else Legacy x87 fpstate state init:
Caller
NameDescribe
fpu__initializeActivate the current task's in-memory FPU context,* if it has not been used before:
xstateregs_set
fpu__init_system_genericOnce per bootup FPU initialization sequences that will run on most x86 CPUs: