Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:setup the xstate image representing the init state

Proto:static void __init setup_init_fpu_buf(void)

Type:void

Parameter:Nothing

410  on_boot_cpu((__section__(".init.data"))) = 1
412  WARN_ON_FPU(!on_boot_cpu)
413  on_boot_cpu = 0
415  If Not boot_cpu_has(XSAVE/XRSTOR/XSETBV/XGETBV instructions ) Then Return
418  Record the offsets and sizes of various xstates contained* in the XSAVE state memory layout.
419  Print out all the supported xstate features:
421  If boot_cpu_has(XSAVES/XRSTORS instructions ) Then xcomp_bv = 1 << 63 | Mask of xstate features supported by the CPU and the kernel:
427  This function is called only during boot time when x86 caps are not set* up and alternative can not be used yet.
433  This function is called only during boot time when x86 caps are not set* up and alternative can not be used yet.
Caller
NameDescribe
fpu__init_system_xstateEnable and initialize the xsave feature.* Called once per system bootup.