Function memory::allocate_frames_by_bytes
pub fn allocate_frames_by_bytes(
num_bytes: usize
) -> Option<Frames<frame_allocator::::AllocatedFrames::{constant#0}, Page4K>>
Expand description
Allocates frames with no constraints on the starting physical address, with a size given by the number of bytes.
This function still allocates whole frames by rounding up the number of bytes.
See allocate_frames_deferred()
for more details.