Function report | 
Source Code:arch\x86\kernel\cpu\centaur.c | 
Create Date:2022-07-28 07:59:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:init_c3
Proto:static void init_c3(struct cpuinfo_x86 *c)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cpuinfo_x86 * | c | 
| 33 | If CPUID functions returning a single datum >= 0xC0000001 Then | 
| 37 | If (tmp & (ACE_PRESENT | ACE_ENABLED)) == ACE_PRESENT Then | 
| 39 | lo |= MSR_VIA_FCR | 
| 40 | wrmsr(VIA Cyrix defined MSRs, lo, hi) | 
| 41 | pr_info("CPU: Enabled ACE h/w crypto\n") | 
| 45 | If (tmp & (RNG_PRESENT | RNG_ENABLED)) == RNG_PRESENT Then | 
| 47 | lo |= MSR_VIA_RNG | 
| 48 | wrmsr(MSR_VIA_RNG, lo, hi) | 
| 49 | pr_info("CPU: Enabled h/w RNG\n") | 
| 55 | x86_capability[CPUID_C000_0001_EDX] = cpuid_edx(0xC0000001) | 
| 61 | lo |= 1 << 1 | 1 << 7 | 
| 62 | wrmsr(VIA Cyrix defined MSRs, lo, hi) | 
| 63 | set_cpu_cap(c, CMPXCHG8 instruction ) | 
| 67 | If x86_model >= 6 && x86_model < 9 Then set_cpu_cap(c, 3DNow ) | 
| 70 | If CPU family == 0x6 && x86_model >= 0xf Then | 
| 71 | In bytes = x86_clflush_size * 2 | 
| Name | Describe | 
|---|---|
| init_centaur | 
| 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  |