函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\fpu\init.c Create Date:2022-07-27 08:49:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Enable all supported FPU features. Called when a CPU is brought online:

函数原型:void fpu__init_cpu(void)

返回类型:void

参数:

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.
调用者
名称描述
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.