pub trait MapRom: Send + Sync {
// Required methods
fn map_rom(
&self,
gpa: u64,
offset: u64,
len: u64,
) -> Result<Box<dyn UnmapRom>>;
fn len(&self) -> u64;
}
Expand description
Trait to map a ROM at one or more locations in guest memory.