Expand description
§RVM Hardware Abstraction Layer
Platform-agnostic traits for the RVM microhypervisor, as specified in
ADR-133. Concrete implementations are provided per target (AArch64,
RISC-V, x86-64).
§Subsystems
Platform– top-level platform discovery and initializationMmuOps– stage-2 page table managementTimerOps– monotonic timer and deadline schedulingInterruptOps– interrupt routing and masking
§Design Constraints (ADR-133)
- All trait methods return
RvmResult - No
unsafein trait definitions (implementations may need it) - Zero-copy: pass borrowed slices, never owned buffers
Traits§
- Interrupt
Ops - Interrupt controller operations.
- MmuOps
- Stage-2 MMU operations for guest physical to host physical translation.
- Platform
- Top-level platform discovery and initialization.
- Timer
Ops - Monotonic timer operations for deadline scheduling.