函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-27 08:55:17
Last Modify:2020-03-16 20:28:31 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:setup_pku

函数原型:static __always_inline void setup_pku(struct cpuinfo_x86 *c)

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
450  如果非This macro is for detection of features which need kernel* infrastructure to be used(Protection Keys for Userspace )则返回
453  如果非cpu_has(c, Protection Keys for Userspace )则返回
455  如果Protection Keys are not available in 32-bit mode.则返回
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  如果pkpkru等于init_pkru_value
467  set_cpu_cap(c, OS Protection Keys Enable )
调用者
名称描述
identify_cpuThis does the hard work of actually picking apart the CPU stuff...