Function ostd::cpu::cpu_local::init_on_bsp
source · pub unsafe fn init_on_bsp()
Expand description
Initializes the CPU local data for the bootstrap processor (BSP).
§Safety
This function can only called on the BSP, for once.
It must be guaranteed that the BSP will not access local data before this function being called, otherwise copying non-constant values will result in pretty bad undefined behavior.