函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-27 08:56:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:x86_virt_spec_ctrl
函数原型:void x86_virt_spec_ctrl(u64 guest_spec_ctrl, u64 guest_virt_spec_ctrl, bool setguest)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| u64 | guest_spec_ctrl | |
| u64 | guest_virt_spec_ctrl | |
| bool | setguest |
| 156 | ti等于current_thread_info() |
| 165 | guestval等于hostval按位与The vendor and possibly platform specific bits which can be modified in* x86_spec_ctrl_base.的反 |
| 166 | guestval或等于guest_spec_ctrl按位与The vendor and possibly platform specific bits which can be modified in* x86_spec_ctrl_base. |
| 169 | 如果static_cpu_has("" Speculative Store Bypass Disable )或static_cpu_has("" Speculative Store Bypass Disable )则hostval或等于ssbd_tif_to_spec_ctrl(低级别标志) |
| 187 | 如果非static_cpu_has("" AMD SSBD implementation via LS_CFG MSR )且非static_cpu_has(Virtualized Speculative Store Bypass Disable )则返回 |
| 196 | 如果static_cpu_has("" Disable Speculative Store Bypass. )则hostval等于Speculative Store Bypass Disable |
| 198 | 否则hostval等于ssbd_tif_to_spec_ctrl(低级别标志) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |