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:56
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:setup_umip

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

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
348  If Not This macro is for detection of features which need kernel* infrastructure to be used(User Mode Instruction Protection ) Then Go to out
352  If Not cpu_has(c, User Mode Instruction Protection ) Then Go to out
355  Set in this cpu's CR4.
357  pr_info_once("x86/cpu: User Mode Instruction Prevention (UMIP) activated\n")
359  Return
361  out :
366  Clear in this cpu's CR4.
Caller
NameDescribe
identify_cpuThis does the hard work of actually picking apart the CPU stuff...