Function allocate_boxed_pages

Source
pub fn allocate_boxed_pages(num_of_pages: usize) -> Box<[Page]>
Expand description

Allocates a number of pages and returns them as a boxed slice.

§Arguments

  • num_of_pages - The number of pages to allocate

§Returns

A boxed slice of the allocated pages.