Function report |
Source Code:arch\x86\kernel\cpu\common.c |
Create Date:2022-07-28 07:55:21 |
Last Modify:2020-03-16 20:28:31 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Do minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code
Proto:static void __init early_identify_cpu(struct cpuinfo_x86 *c)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpuinfo_x86 * | c |
1199 | x86_clflush_size = 64 |
1200 | x86_phys_bits = 36 |
1201 | x86_virt_bits = 48 |
1207 | In bytes = x86_clflush_size |
1209 | memset( & x86_capability, 0, size of x86_capability ) |
1212 | If Not Probe for the CPUID instruction Then identify_cpu_without_cpuid(c) |
1216 | If Probe for the CPUID instruction Then |
1217 | cpu_detect(c) |
1218 | get_cpu_vendor(c) |
1219 | get_cpu_cap(c) |
1220 | get_cpu_address_sizes(c) |
1223 | If c_early_init Then c_early_init(c) |
1226 | Index into per_cpu list: = 0 |
1227 | filter_cpuid_features(c, false) |
1229 | If c_bsp_init Then c_bsp_init(c) |
1231 | Else |
1237 | cpu_set_bug_bits(c) |
1261 | If Not pgtable_l5_enabled() Then setup_clear_cpu_cap(5-level page tables ) |
Name | Describe |
---|---|
early_cpu_init |
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 |