Expand description
Virtual memory (VM).
Re-exports§
pub use self::frame::Frame;pub use self::frame::allocator::FrameAllocOptions;pub use self::frame::segment::Segment;pub use self::frame::segment::USegment;pub use self::frame::unique::UniqueFrame;pub use self::frame::untyped::AnyUFrameMeta;pub use self::frame::untyped::UFrame;pub use self::frame::untyped::UntypedMem;pub use self::io::Fallible;pub use self::io::FallibleVmRead;pub use self::io::FallibleVmWrite;pub use self::io::Infallible;pub use self::io::PodOnce;pub use self::io::VmIo;pub use self::io::VmIoOnce;pub use self::io::VmReader;pub use self::io::VmWriter;pub use self::vm_space::VmSpace;
Modules§
- frame
- Frame (physical memory page) management.
- io
- Abstractions for reading and writing virtual memory (VM) objects.
- kspace
- Kernel memory space management.
- page_
table - tlb
- TLB flush operations.
- vm_
space - Virtual memory space management.
Structs§
- DmaCoherent
- A coherent (or consistent) DMA mapping, which guarantees that the device and the CPU can access the data in parallel.
- Page
Flags - Page protection permissions and access status.
- Page
Property - The property of a mapped virtual memory page.
Enums§
- Cache
Policy - A type to control the cacheability of the main memory.
Constants§
- KERNEL_
VADDR_ RANGE - The kernel address space.
- MAX_
USERSPACE_ VADDR - The maximum virtual address of user space (non inclusive).
Traits§
- HasDaddr
- A trait for types that have mapped address in the device address space.
- HasPaddr
- Gets physical address trait
- Paging
Consts Trait - A minimal set of constants that determines the paging system. This provides an abstraction over most paging modes in common architectures.
Functions§
Type Aliases§
- Daddr
- The device address.
- Paddr
- Physical addresses.
- Paging
Level - The level of a page table node or a frame.
- Vaddr
- Virtual addresses.