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