Function report |
Source Code:arch\x86\kernel\tsc_sync.c |
Create Date:2022-07-28 08:24:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tsc_sanitize_first_cpu
Proto:static void tsc_sanitize_first_cpu(struct tsc_adjust *cur, s64 bootval, unsigned int cpu, bool bootcpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tsc_adjust * | cur | |
| s64 | bootval | |
| unsigned int | cpu | |
| bool | bootcpu |
| 100 | If Value is more likely to compile time(!tsc_async_resets) Then |
| 101 | pr_warn(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 | Else |
| Name | Describe |
|---|---|
| tsc_store_and_check_tsc_adjust |
| 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 |