pub struct AmdIommuIvrsConfig {
pub pa_size: u8,
pub va_size: u8,
pub iommus: Vec<AmdIommuAcpiConfig>,
pub ioapic_rid: Option<u16>,
}Expand description
IVRS-level configuration for AMD IOMMU ACPI table generation.
Groups the IVRS header fields (PA/VA sizes) with the per-IOMMU configs.
Fields§
§pa_size: u8Physical address size in bits (e.g. 48). Written to the IVRS IVinfo header.
va_size: u8Virtual address size in bits (e.g. 48). Written to the IVRS IVinfo header.
iommus: Vec<AmdIommuAcpiConfig>Per-IOMMU configurations, one per root complex with an AMD IOMMU.
ioapic_rid: Option<u16>IOAPIC PCIe Requester ID (RID) for the IVRS DEV_SPECIAL(IOAPIC) entry.
When set, a DEV_SPECIAL(IOAPIC) entry is added to the IVHD whose segment (0) and bus range cover this RID, so the guest can locate the IOAPIC’s DTE/IRTE context for interrupt remapping.
Trait Implementations§
Source§impl Clone for AmdIommuIvrsConfig
impl Clone for AmdIommuIvrsConfig
Source§fn clone(&self) -> AmdIommuIvrsConfig
fn clone(&self) -> AmdIommuIvrsConfig
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 AmdIommuIvrsConfig
impl RefUnwindSafe for AmdIommuIvrsConfig
impl Send for AmdIommuIvrsConfig
impl Sync for AmdIommuIvrsConfig
impl Unpin for AmdIommuIvrsConfig
impl UnsafeUnpin for AmdIommuIvrsConfig
impl UnwindSafe for AmdIommuIvrsConfig
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