Function report |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-28 08:24:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Prepare for SMP bootup.*@max_cpus: configured maximum number of CPUs, It is a legacy parameter* for common interface support.
Proto:void __init native_smp_prepare_cpus(unsigned int max_cpus)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | max_cpus |
1314 | smp_cpu_index_default() |
1319 | smp_store_boot_cpu_info() |
1323 | for_each_possible_cpu(i) |
1325 | zalloc_cpumask_var( & per_cpu(presenting HT and core siblings of each logical CPU , i), GFP_KERNEL) |
1326 | zalloc_cpumask_var( & per_cpu(presenting HT, core, and die siblings of each logical CPU , i), GFP_KERNEL) |
1327 | zalloc_cpumask_var( & per_cpu(cpu_llc_shared_map, i), GFP_KERNEL) |
1339 | set_cpu_sibling_map(0) |
1344 | Case apic_intr_mode == APIC_PIC |
1345 | Case apic_intr_mode == APIC_VIRTUAL_WIRE_NO_CONFIG |
1347 | Return |
1348 | Case apic_intr_mode == APIC_SYMMETRIC_IO_NO_ROUTING |
1351 | setup_percpu_clockev() |
1352 | Return |
1353 | Case apic_intr_mode == APIC_VIRTUAL_WIRE |
1354 | Case apic_intr_mode == APIC_SYMMETRIC_IO |
1355 | Break |
1359 | setup_percpu_clockev() |
1361 | smp_get_logical_apicid() |
1363 | pr_info("CPU0: ") |
1364 | print_cpu_info( & cpu_data(0)) |
1366 | uv_system_init() |
1368 | set_mtrr_aps_delayed_init() |
1370 | smp_quirk_init_udelay() |
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 |