Module memory

1.0.0 ยท Source
Expand description

Provides primitives for interfacing with raw memory (such as pages and frames), as well as interfaces for memory related kernel modules to implement (such as BackingAllocator)

Modulesยง

allocator
Provides physical memory allocation APIs
mappingNon-use_std
API for managing memory at a high level.
type_ops ๐Ÿ”’
heapExperimental
Provides an interface to act as the kernel heap
physicalExperimental
virtualExperimental

Structsยง

AllocError
The error returned when an allocation was unsuccessful
Frame
A memory frame
Page
A memory page
PhysicalAddress
A physical memory address of alignment ALIGN
VirtualAddress
A virtual memory address of alignment ALIGN

Constantsยง

PAGE_MAP_OFFSET ๐Ÿ”’
PAGE_SIZE ๐Ÿ”’