Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:has_fpu

Proto:static int has_fpu(void)

Type:int

Parameter:Nothing

17  fcw = -1 , fsw = -1
20  asm volatile
21  If cr0 & (X86_CR0_EM | X86_CR0_TS) Then
22  cr0 &= ~(X86_CR0_EM | X86_CR0_TS)
23  asm volatile
26  asm volatile
29  Return fsw == 0 && (fcw & 0x103f) == 0x003f
Caller
NameDescribe
get_cpuflags