Module ostd::mm

source ·
Expand description

Virtual memory (VM).

Re-exports§

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.
  • A marker structure used for VmReader and VmWriter, representing their operated memory scope is in kernel space.
  • Page protection permissions and access status.
  • The property of a mapped virtual memory page.
  • A marker structure used for VmReader and VmWriter, representing their operated memory scope is in user space.
  • 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§

Constants§

Statics§

Traits§

  • A trait for types that have mapped address in the device address space.
  • Gets physical address trait
  • A trait that enables reading/writing data from/to a VM object, e.g., VmSpace, FrameVec, and Frame.

Functions§

Type Aliases§