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

Name:Get total size of enabled xstates in XCR0/xfeatures_mask.* Note the SDM's wording here. "sub-function 0" only enumerates* the size of the *user* states. If we use it to size a buffer* that we use 'XSAVES' on, we could potentially overflow the

Proto:static unsigned int __init get_xsaves_size(void)

Type:unsigned int

Parameter:Nothing

638  cpuid_count(XSTATE_CPUID, 1, & eax, & ebx, & ecx, & edx)
639  Return ebx
Caller
NameDescribe
init_xstate_size