函数逻辑报告

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

函数名称:Initialize the registers found in all CPUs, CR0 and CR4:

函数原型:static void fpu__init_cpu_generic(void)

返回类型:void

参数:

20  cr4_mask等于0
22  如果boot_cpu_has(FXSAVE/FXRSTOR, CR4.OSFXSR )则cr4_mask或等于X86_CR4_OSFXSR
24  如果boot_cpu_has("sse" )则cr4_mask或等于X86_CR4_OSXMMEXCPT
26  如果cr4_maskSet in this cpu's CR4.
29  cr0等于read_cr0()
30  cr0与等于X86_CR0_TS按位或X86_CR0_EM的值的反
31  如果非boot_cpu_has(Onboard FPU )则cr0或等于X86_CR0_EM
33  write_cr0(cr0)
41  asm volatile
调用者
名称描述
fpu__init_cpuEnable all supported FPU features. Called when a CPU is brought online: