#[repr(C)]pub struct PciModernConfig {
pub common_cfg: u64,
pub notify_cfg: u64,
pub notify_off_multiplier: u32,
pub isr_cfg: u64,
pub device_cfg: u64,
pub pci_cfg: u64,
}Expand description
Configuration for VirtIO PCI Modern transport
Fields§
§common_cfg: u64Base address of common_cfg (BAR + cap_offset)
notify_cfg: u64Base address of notify_cfg (BAR + cap_offset)
notify_off_multiplier: u32Notify offset multiplier (from capability)
isr_cfg: u64Base address of isr_cfg (BAR + cap_offset)
device_cfg: u64Base address of device_cfg (BAR + cap_offset)
pci_cfg: u64Base address of pci_cfg (optional, for config space access)
Trait Implementations§
Source§impl Clone for PciModernConfig
impl Clone for PciModernConfig
Source§fn clone(&self) -> PciModernConfig
fn clone(&self) -> PciModernConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PciModernConfig
impl Debug for PciModernConfig
Source§impl Default for PciModernConfig
impl Default for PciModernConfig
impl Copy for PciModernConfig
Auto Trait Implementations§
impl Freeze for PciModernConfig
impl RefUnwindSafe for PciModernConfig
impl Send for PciModernConfig
impl Sync for PciModernConfig
impl Unpin for PciModernConfig
impl UnwindSafe for PciModernConfig
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