函数逻辑报告 |
Source Code:arch\x86\kernel\tsc_sync.c |
Create Date:2022-07-27 09:24:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:tsc_sanitize_first_cpu
函数原型:static void tsc_sanitize_first_cpu(struct tsc_adjust *cur, s64 bootval, unsigned int cpu, bool bootcpu)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct tsc_adjust * | cur | |
s64 | bootval | |
unsigned int | cpu | |
bool | bootcpu |
100 | 如果此条件成立可能性大(为编译器优化)(!tsc_async_resets)则 |
101 | 打印警告信息(FW_BUG* Add this to a message where you are sure the firmware is buggy or behaves* really stupid or out of spec"TSC ADJUST: CPU%u: %lld force to 0\n", cpu, bootval) |
103 | wrmsrl(MSR_IA32_TSC_ADJUST, 0) |
104 | bootval等于0 |
105 | 否则 |
名称 | 描述 |
---|---|
tsc_store_and_check_tsc_adjust |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |