pub(crate) unsafe fn init()
Expand description
Initializes the global frame allocator.
It just does adds the frames to the global frame allocator. Calling it multiple times would be not safe.
-
This function should be called only once per system.
-
This function should be executed after
crate::boot::EARLY_INFO.call_once
. -
This function should be executed after
init_early_allocator
.