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_smap

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

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
331  eflags = Declaration required for gcc < 4.9 to prevent -Werror=missing-prototypes
334  BUG_ON(eflags & X86_EFLAGS_AC)
336  If cpu_has(c, Supervisor Mode Access Prevention ) Then
340  Clear in this cpu's CR4.
Caller
NameDescribe
identify_cpuThis does the hard work of actually picking apart the CPU stuff...