函数逻辑报告 |
Source Code:arch\x86\kernel\process.c |
Create Date:2022-07-27 08:48:45 |
| Last Modify:2020-03-16 17:03:44 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Update the MSRs managing speculation control, during context switch.
函数原型:static __always_inline void __speculation_ctrl_update(unsigned long tifp, unsigned long tifn)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned long | tifp | Previous task's thread flags |
| unsigned long | tifn | Next task's thread flags |
| 545 | bool updmsr = false |
| 563 | updmsr = true |
| 573 | updmsr或等于非非tif_diff按位与_TIF_SPEC_IB的值 |
| 577 | 如果updmsr则wrmsrl(Speculation Control , msr) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |