pub struct PcatBiosRuntimeDeps<'a> {
pub gm: GuestMemory,
pub logger: Box<dyn PcatLogger>,
pub generation_id_deps: GenerationIdRuntimeDeps,
pub vmtime: &'a VmTimeSource,
pub rom: Option<Box<dyn MapRom>>,
pub register_pio: &'a mut dyn RegisterPortIoIntercept,
pub replay_mtrrs: Box<dyn Send + FnMut()>,
}
Expand description
PCAT device runtime dependencies.
Fields§
§gm: GuestMemory
§logger: Box<dyn PcatLogger>
§generation_id_deps: GenerationIdRuntimeDeps
§vmtime: &'a VmTimeSource
§rom: Option<Box<dyn MapRom>>
The BIOS ROM.
If missing, then assume the ROM is already in memory.
register_pio: &'a mut dyn RegisterPortIoIntercept
§replay_mtrrs: Box<dyn Send + FnMut()>
Replays the initial MTRRs on all VPs.
Auto Trait Implementations§
impl<'a> Freeze for PcatBiosRuntimeDeps<'a>
impl<'a> !RefUnwindSafe for PcatBiosRuntimeDeps<'a>
impl<'a> !Send for PcatBiosRuntimeDeps<'a>
impl<'a> !Sync for PcatBiosRuntimeDeps<'a>
impl<'a> Unpin for PcatBiosRuntimeDeps<'a>
impl<'a> !UnwindSafe for PcatBiosRuntimeDeps<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more