Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:We parse fpu parameters early because fpu__init_system() is executed* before parse_early_param().

Proto:static void __init fpu__init_parse_early_param(void)

Type:void

Parameter:Nothing

246  argptr = arg
250  If cmdline_find_option_bool(boot_command_line, "no387") Then pr_err("Option 'no387' required CONFIG_MATH_EMULATION enabled.\n")
257  If cmdline_find_option_bool(boot_command_line, "nofxsr") Then setup_clear_cpu_cap(FXSAVE/FXRSTOR, CR4.OSFXSR )
261  If cmdline_find_option_bool(boot_command_line, "noxsave") Then setup_clear_cpu_cap(XSAVE/XRSTOR/XSETBV/XGETBV instructions )
264  If cmdline_find_option_bool(boot_command_line, "noxsaveopt") Then setup_clear_cpu_cap(XSAVEOPT instruction )
267  If cmdline_find_option_bool(boot_command_line, "noxsaves") Then setup_clear_cpu_cap(XSAVES/XRSTORS instructions )
270  If cmdline_find_option(boot_command_line, "clearcpuid", arg, size of arg ) && get_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well && bit >= 0 && bit < N 32-bit words worth of info * 32 Then setup_clear_cpu_cap(bit)
Caller
NameDescribe
fpu__init_systemCalled on the boot CPU once per system bootup, to set up the initial* FPU state that is later cloned into all processes: