函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\spec-ctrl.h Create Date:2022-07-27 08:29:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:stibp_tif_to_spec_ctrl

函数原型:static inline u64 stibp_tif_to_spec_ctrl(u64 tifn)

返回类型:u64

参数:

类型参数名称
u64tifn
58  BUILD_BUG_ON - break compile if a condition is true(Indirect branch speculation mitigation < Single Thread Indirect Branch Predictor (STIBP) bit )
59  返回:tifn按位与_TIF_SPEC_IB的值右移Indirect branch speculation mitigation Single Thread Indirect Branch Predictor (STIBP) bit
调用者
名称描述
__speculation_ctrl_updateUpdate the MSRs managing speculation control, during context switch.
x86_virt_spec_ctrl