Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xfeature_is_supervisor

Proto:static int xfeature_is_supervisor(int xfeature_nr)

Type:int

Parameter:

TypeParameterName
intxfeature_nr
122  Some CPUID calls want 'count' to be placed in ecx
123  Return Not Not (ecx & 1)
Caller
NameDescribe
xfeature_is_user
do_extra_xstate_size_checksThis essentially double-checks what the cpu told us about* how large the XSAVE buffer needs to be. We are recalculating* it to be safe.