Function report |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-28 07:55:09 |
Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_speculation_control
Proto:static void init_speculation_control(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
843 | If cpu_has(c, "" Speculation Control (IBRS + IBPB) ) Then |
849 | If cpu_has(c, "" Single Thread Indirect Branch Predictors ) Then set_cpu_cap(c, Single Thread Indirect Branch Predictors ) |
852 | If cpu_has(c, "" Speculative Store Bypass Disable ) || cpu_has(c, Virtualized Speculative Store Bypass Disable ) Then set_cpu_cap(c, Speculative Store Bypass Disable ) |
856 | If cpu_has(c, "" Indirect Branch Restricted Speculation ) Then |
861 | If cpu_has(c, "" Indirect Branch Prediction Barrier ) Then set_cpu_cap(c, Indirect Branch Prediction Barrier ) |
864 | If cpu_has(c, "" Single Thread Indirect Branch Predictors ) Then |
869 | If cpu_has(c, "" Speculative Store Bypass Disable ) Then |
Name | Describe |
---|---|
get_cpu_cap |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |