Function init

Source
pub(crate) unsafe fn init() -> Segment<MetaPageMeta> 
Expand description

Initializes the metadata of all physical frames.

The function returns a list of Frames containing the metadata.

  • This function should be called only once per system.

  • This function should be executed after BSP has booted before APs have not booted.