函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-27 08:56:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:检查CPU配置是否非法使用不具备的功能
函数原型:void __init check_bugs(void)
返回类型:void
参数:无
79 | identify_boot_cpu() |
88 | 打印信息("CPU: ") |
97 | 如果boot_cpu_has("" MSR SPEC_CTRL is implemented )则rdmsrl(Speculation Control , The base value of the SPEC_CTRL MSR that always has to be preserved. ) |
101 | 如果boot_cpu_has(Single Thread Indirect Branch Predictors )则The vendor and possibly platform specific bits which can be modified in* x86_spec_ctrl_base.或等于STIBP mask |
107 | ssb_select_mitigation() |
108 | l1tf_select_mitigation() |
109 | mds_select_mitigation() |
110 | taa_select_mitigation() |
116 | mds_print_mitigation() |
128 | 如果CPU family 小于4则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
131 | machine[1]等于'0'加如果CPU family 大于6则6否则CPU family |
133 | alternative_instructions() |
名称 | 描述 |
---|---|
start_kernel | 启动内核 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |