Module allocator

Source
Expand description

The physical memory allocator.

StructsΒ§

EarlyAllocatedFrameMeta πŸ”’
Metadata for frames allocated in the early boot phase.
EarlyFrameAllocator πŸ”’
An allocator in the early boot phase when frame metadata is not available.
FrameAllocOptions
Options for allocating physical memory frames.

StaticsΒ§

EARLY_ALLOCATOR πŸ”’
The global frame allocator in the early boot phase.
__GLOBAL_FRAME_ALLOCATOR_REF πŸ”’ ⚠
The global frame allocator’s reference exported by crate::global_frame_allocator.

TraitsΒ§

GlobalFrameAllocator
The trait for the global frame allocator.

FunctionsΒ§

early_alloc πŸ”’
Allocates a contiguous range of frames in the early boot phase.
get_global_frame_allocator πŸ”’
init πŸ”’ ⚠
Initializes the global frame allocator.
init_early_allocator πŸ”’ ⚠
Initializes the early frame allocator.