pub struct AmdIommuAcpiConfig {
pub device_id: u16,
pub capability_offset: u16,
pub mmio_base: u64,
pub pci_segment: u16,
pub ivhd_features: u64,
pub start_bus: u8,
pub end_bus: u8,
}Expand description
Configuration for AMD IOMMU ACPI table (IVRS) generation.
Fields§
§device_id: u16PCI DeviceID (BDF) of the IOMMU, encoded as (bus << 8) | (dev << 3) | fn.
capability_offset: u16Offset of the AMD IOMMU capability block in PCI config space.
mmio_base: u64MMIO base address of the IOMMU register region.
pci_segment: u16PCI segment group number (typically 0).
ivhd_features: u64IOMMU feature reporting for the IVHD (should match MMIO ExtFeat register).
start_bus: u8Lowest bus number covered by this IOMMU.
end_bus: u8Highest bus number covered by this IOMMU.
Trait Implementations§
Source§impl Clone for AmdIommuAcpiConfig
impl Clone for AmdIommuAcpiConfig
Source§fn clone(&self) -> AmdIommuAcpiConfig
fn clone(&self) -> AmdIommuAcpiConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AmdIommuAcpiConfig
impl RefUnwindSafe for AmdIommuAcpiConfig
impl Send for AmdIommuAcpiConfig
impl Sync for AmdIommuAcpiConfig
impl Unpin for AmdIommuAcpiConfig
impl UnsafeUnpin for AmdIommuAcpiConfig
impl UnwindSafe for AmdIommuAcpiConfig
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