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:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Enable all supported FPU features. Called when a CPU is brought online:

Proto:void fpu__init_cpu(void)

Type:void

Parameter:Nothing

49  Initialize the registers found in all CPUs, CR0 and CR4:
50  Enable the extended processor state save/restore feature.* Called once per CPU onlining.
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:
cpu_initpu_init() initializes state that is per-CPU. Some data is already* initialized (naturally) in the bootstrap process, such as the GDT* and IDT. We reload them nevertheless, this function acts as a* 'CPU state barrier', nothing should get across.