memflow/mem/
mod.rs

1//! This module covers all implementations and traits related to
2//! reading/writing [physical](phys_mem/index.html) and [virtual](virt_mem/index.html) memory.
3//!
4//! The [cache](cache/index.html) module contains all caching related
5//! implementations. The caches just wrap the physical and virtual accessors
6//! and are themselves a memory backend.
7//!
8//! TODO: more documentation
9
10pub mod mem_data;
11pub mod mem_map;
12pub mod memory_view;
13pub mod phys_mem;
14pub mod virt_mem;
15pub mod virt_translate;
16
17pub use mem_map::{MemoryMap, PhysicalMemoryMapping};
18pub use phys_mem::{CachedPhysicalMemory, PhysicalMemory, PhysicalMemoryMetadata};
19#[cfg(feature = "std")]
20pub use phys_mem::{DelayedPhysicalMemory, PhysicalMemoryMetrics};
21pub use virt_mem::VirtualDma;
22pub use virt_translate::{
23    CachedVirtualTranslate, DirectTranslate, VirtualTranslate, VirtualTranslate2,
24    VirtualTranslate3, VtopFailureCallback, VtopOutputCallback,
25};
26
27pub use memory_view::{CachedView, MemoryView, MemoryViewBatcher, MemoryViewMetadata};
28
29#[cfg(feature = "std")]
30pub use memory_view::MemoryCursor;
31
32pub use mem_data::*;