pub struct IommuUnit {
pub register_base: u64,
pub segment: u16,
pub capability: u64,
pub extended_capability: u64,
pub include_all: bool,
}Expand description
Represents a parsed IOMMU hardware unit with its capabilities.
Fields§
§register_base: u64Register base address (MMIO).
segment: u16PCI segment group.
capability: u64Capability register value (offset 0x08).
extended_capability: u64Extended capability register value (offset 0x10).
include_all: boolWhether this unit covers all devices.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IommuUnit
impl RefUnwindSafe for IommuUnit
impl Send for IommuUnit
impl Sync for IommuUnit
impl Unpin for IommuUnit
impl UnwindSafe for IommuUnit
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)