Module aster_frame::mm
source · Expand description
Virtual memory (VM).
Re-exports
pub use self::frame::options::FrameAllocOptions;
pub use self::frame::Frame;
pub use self::frame::FrameVec;
pub use self::frame::FrameVecIter;
pub use self::frame::Segment;
Modules
- Untyped physical memory management.
Structs
- A coherent (or consistent) DMA mapping, which guarantees that the device and the CPU can access the data in parallel.
- A streaming DMA mapping. Users must synchronize data before reading or after writing to ensure consistency.
- A slice of streaming DMA mapping.
- Page protection permissions and access status.
- The property of a mapped virtual memory page.
- Options for mapping physical memory pages into a VM address space. See
VmSpace::map
. - VmReader is a reader for reading data from a contiguous range of memory.
- Virtual memory space.
- VmWriter is a writer for writing data to a contiguous range of memory.
Enums
- A type to control the cacheability of the main memory.
Constants
- The maximum virtual address of user space (non inclusive).
- The page size
Statics
- Memory regions used for frame buffer.
Traits
- A trait for types that have mapped address in the device address space.
- Gets physical address trait
Functions
- Checks if the given address is page-aligned.
Type Aliases
- The devide address.
- Physical addresses.
- The level of a page table node or a frame.
- Virtual addresses.