函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_umip

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

返回类型:void

参数:

类型参数名称
struct cpuinfo_x86 *c
348  如果非This macro is for detection of features which need kernel* infrastructure to be used(User Mode Instruction Protection )则转到:out
352  如果非cpu_has(c, User Mode Instruction Protection )则转到:out
355  Set in this cpu's CR4.
357  pr_info_once("x86/cpu: User Mode Instruction Prevention (UMIP) activated\n")
359  返回
361  out :
366  Clear in this cpu's CR4.
调用者
名称描述
identify_cpuThis does the hard work of actually picking apart the CPU stuff...