Function report |
Source Code:arch\x86\kernel\smpboot.c |
Create Date:2022-07-28 08:24:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:native_cpu_up
Proto:int native_cpu_up(unsigned int cpu, struct task_struct *tidle)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | cpu | |
| struct task_struct * | tidle |
| 1129 | apicid = cpu_present_to_apicid(cpu) |
| 1130 | cpu0_nmi_registered = 0 |
| 1132 | ret = 0 |
| 1134 | lockdep_assert_irqs_enabled() |
| 1138 | If apicid == BAD_APICID || Not physid_isset(apicid, phys_cpu_present_map) || Not apic_id_valid(apicid) Then |
| 1160 | err = cpu_check_up_prepare(cpu) |
| 1165 | per_cpu(Track which context is using the FPU on the CPU:, cpu) = NULL |
| 1167 | err = common_cpu_up(cpu, tidle) |
| 1172 | If err Then |
| 1175 | Go to unreg_nmi |
| 1182 | local_irq_save(flags) |
| 1183 | check_tsc_sync_source(cpu) |
| 1184 | local_irq_restore(flags) |
| 1186 | When Not cpu_online(cpu) cycle |
| 1187 | cpu_relax() |
| 1191 | unreg_nmi : |
| 1196 | If cpu0_nmi_registered Then unregister_nmi_handler(NMI_LOCAL, "wake_cpu0") |
| 1199 | Return ret |
| 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 |