pub struct HyperVFirmwarePcat {
pub config: PcatBiosConfig,
pub logger: Box<dyn PcatLogger>,
pub generation_id_recv: Receiver<[u8; 16]>,
pub rom: Option<Box<dyn MapRom>>,
pub replay_mtrrs: Box<dyn Send + FnMut()>,
}
Expand description
Hyper-V specific UEFI Helper Device
Fields§
§config: PcatBiosConfig
Bundle of static configuration required by the PCAT BIOS helper device
logger: Box<dyn PcatLogger>
Interface to log PCAT BIOS events
generation_id_recv: Receiver<[u8; 16]>
Channel to receive updated generation ID values
rom: Option<Box<dyn MapRom>>
Interface to map VMBIOS.bin into memory (or None, if that’s handled externally, by the platform itself)
replay_mtrrs: Box<dyn Send + FnMut()>
Trigger the partition to replay the initially-set MTRRs across all VPs.
Auto Trait Implementations§
impl Freeze for HyperVFirmwarePcat
impl !RefUnwindSafe for HyperVFirmwarePcat
impl Send for HyperVFirmwarePcat
impl !Sync for HyperVFirmwarePcat
impl Unpin for HyperVFirmwarePcat
impl !UnwindSafe for HyperVFirmwarePcat
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