Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:54:58
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:setup_pku

Proto:static __always_inline void setup_pku(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
450  If Not This macro is for detection of features which need kernel* infrastructure to be used(Protection Keys for Userspace ) Then Return
453  If Not cpu_has(c, Protection Keys for Userspace ) Then Return
455  If Protection Keys are not available in 32-bit mode. Then Return
458  Set in this cpu's CR4.
459  pk = Given the xsave area and a state inside, this function returns the* address of the state
460  If pk Then pkru = init_pkru_value
467  set_cpu_cap(c, OS Protection Keys Enable )
Caller
NameDescribe
identify_cpuThis does the hard work of actually picking apart the CPU stuff...