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

Name:fpu__probe_without_cpuid

Proto:static bool fpu__probe_without_cpuid(void)

Type:bool

Parameter:Nothing

58  fsw = fcw = 0xffff
60  cr0 = read_cr0()
61  cr0 &= ~(X86_CR0_TS | X86_CR0_EM)
62  write_cr0(cr0)
64  asm volatile
66  pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw)
68  Return fsw == 0 && (fcw & 0x103f) == 0x003f
Caller
NameDescribe
fpu__init_system_early_generic