pub fn new(taken_areas: [Range<usize>; N], memory_map_tag: &'a MemoryMapTag) -> Self {
        Self {
            current_frame: 0x200000,
            current_area: memory_map_tag.memory_areas().next(),
            memory_area_index: 0,
            memory_map_tag,
            taken_areas,
        }
    }
/// Create a new BasicFrameAllocator. Taken areas are addresses that are taken by either the
/// kernel or the Multiboot2 information structure.
Create a new BasicFrameAllocator. Taken areas are addresses that are taken by either the
kernel or the Multiboot2 information structure.
Create a new BasicFrameAllocator . Taken areas are addresses that are taken by either the kernel or the Multiboot2 information structure .
pub fn new(taken_areas: [Range<usize>; N], memory_map_tag: &'a MemoryMapTag) -> Self {
        Self {
            current_frame: 0x200000,
            current_area: memory_map_tag.memory_areas().next(),
            memory_area_index: 0,
            memory_map_tag,
            taken_areas,
        }
    }
pub fn new ( taken_areas : [ Range < usize > ; N ] , memory_map_tag : & ' a MemoryMapTag ) -> Self { Self { current_frame : 0x200000 , current_area : memory_map_tag . memory_areas ( ) . next ( ) , memory_area_index : 0 , memory_map_tag , taken_areas , } }
Create a new BasicFrameAllocator.
Create a new BasicFrameAllocator .
taken_areas
[Range<usize>; N]
memory_map_tag
&'a MemoryMapTag
taken_areas
[Range<usize>; N]
memory_map_tag
&'a MemoryMapTag