Module frame_allocator

Source
Expand description

Implementation of FrameAllocator which controls all the frames in the operating system.

Structsยง

FRAME_ALLOCATOR
frame allocator instance through lazy_static!
FrameTracker
manage a frame which has the same lifecycle as the tracker
StackFrameAllocator
an implementation for frame allocator

Traitsยง

FrameAllocator ๐Ÿ”’

Functionsยง

frame_alloc
allocate a frame
frame_allocator_test
a simple test for frame allocator
frame_dealloc ๐Ÿ”’
deallocate a frame
init_frame_allocator
initiate the frame allocator using ekernel and MEMORY_END

Type Aliasesยง

FrameAllocatorImpl ๐Ÿ”’