Module mm

Module mm 

Source
Expand description

Memory Management.

This module implements functionality for memory management operations such as allocating and deallocating memory. The core abstraction is the Page, which represents a single memory page.

Memory allocation and deallocation in KeOS is closely tied to Rust’s ownership and lifetime system: A page is allocated by creating an instance of the Page struct. Once the Page instance is dropped, the page is automatically freed, ensuring proper memory management and preventing memory leaks.

ModulesΒ§

page_table
Entries of Page Table and thier permissions.
tlb
TLB Shootdown helper.

StructsΒ§

Arena πŸ”’
BytePP πŸ”’
ContigPages
A contiguous pages representation.
Page
A representation of a memory page.
PageRef
A reference of a memory page.
PhysicalAllocator πŸ”’

StaticsΒ§

PALLOC πŸ”’