Function memory::allocate_pages_by_bytes_in_range
pub fn allocate_pages_by_bytes_in_range(
num_bytes: usize,
range: &PageRange<Page4K>
) -> Result<AllocatedPages<Page4K>, &'static str>
Expand description
Allocates pages with a size given in number of bytes with the constraint that
they must be within the given inclusive range
of pages.