函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_smap

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

返回类型:void

参数:

类型参数名称
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  如果cpu_has(c, Supervisor Mode Access Prevention )则
340  Clear in this cpu's CR4.
调用者
名称描述
identify_cpuThis does the hard work of actually picking apart the CPU stuff...