函数逻辑报告

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

函数名称:Once CPU feature detection is finished (and boot params have been* parsed), record any of the sensitive CR bits that are set, and* enable CR pinning.

函数原型:static void __init setup_cr_pinning(void)

返回类型:void

参数:

435  mask等于X86_CR4_SMEP按位或X86_CR4_SMAP按位或X86_CR4_UMIP
436  cr4_pinned_bits等于Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cr4)按位与mask
437  static_key_enable( & key)
调用者
名称描述
identify_boot_cpu