unsafe fn init_num_cpus(num_cpus: u32)
Initializes the number of CPUs.
This function should be executed after BSP starts before any AP starts.
num_cpus should be valid.