Modules
This module implements a buddy allocator, an efficient scheme for managing physical memory. In
this allocator, memory is broken up into a number of blocks, each of which is a power-of-2 frames in
size. A block of size
2^^n
frames is said to be of order n
:Structs
Represents a stack, either in kernel-space or user-space. Stacks are allocated in “slots” of fixed size, but
only a subset of the slot may be mapped initially (to reduce physical memory usage). Stacks can’t grow above
the size of their slot.