函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\smpboot.c Create Date:2022-07-27 09:24:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Activate a secondary processor.

函数原型:static void notrace start_secondary(void *unused)

返回类型:void

参数:

类型参数名称
void *unused
218  cr4_init()
222  load_cr3(swapper_pg_dir)
223  lush everything
225  The load_current_idt() must be called with interrupts disabled* to avoid races
226  pu_init() initializes state that is per-CPU. Some data is already* initialized (naturally) in the bootstrap process, such as the GDT* and IDT. We reload them nevertheless, this function acts as a* 'CPU state barrier', nothing should get across.
227  early_percpu_clock_init()
228  禁止抢占()
229  Report back to the Boot Processor during boot time or to the caller processor* during CPU online.
231  enable_start_cpu0等于0
234  The "volatile" is due to gcc bugs ()
238  check_tsc_sync_target()
240  speculative_store_bypass_ht_init()
248  lock_vector_lock()
249  set_cpu_online(当前cpu ID(), true)
250  lapic_online()
251  unlock_vector_lock()
252  cpu_set_state_online(当前cpu ID())
253  nmi_init()
256  开中断()
259  初始化带防止栈溢出攻击保护的堆栈
261  setup_percpu_clockev()
263  wmb()
264  cpu_startup_entry(CPUHP_AP_ONLINE_IDLE)