Expand description
Region management for guest physical address space (ADR-136, ADR-138).
A RegionManager maintains a fixed-capacity table of OwnedRegion entries,
each mapping a contiguous range of guest physical addresses to host physical
addresses with associated metadata (tier, permissions, ownership).
§Design Principles
- Move semantics: Region transfer conceptually moves ownership from one partition to another. The old entry is invalidated and a new entry is created.
- Bounds checking: All operations validate that addresses and page counts do not exceed the region’s bounds.
- Overlap detection: Creating a region that overlaps an existing one in the same partition is rejected.
Structs§
- Address
Mapping - Guest-to-host address mapping entry.
- Owned
Region - An owned memory region entry in the region table.
- Region
Config - Configuration for creating a new region.
- Region
Manager - Manages a fixed-capacity table of owned memory regions.