pub enum AcpiArchConfig {
X86 {
with_ioapic: bool,
with_pic: bool,
with_pit: bool,
with_psp: bool,
pm_base: u16,
acpi_irq: u32,
iommu: Option<X86IommuAcpiConfig>,
},
Aarch64 {
hypervisor_vendor_identity: u64,
virt_timer_ppi: u32,
smmu: Vec<AcpiSmmuConfig>,
},
}Expand description
Architecture-specific ACPI configuration carried by AcpiTablesBuilder.
Variants§
X86
x86-specific settings (IOAPIC, PIC, PIT, PSP, PM base, SCI IRQ).
Fields
§
iommu: Option<X86IommuAcpiConfig>x86 IOMMU ACPI table configuration. Generates an IVRS (AMD) or DMAR (Intel VT-d) table when set. At most one x86 IOMMU type is active per VM.
Aarch64
ARM64-specific settings (HW_REDUCED_ACPI FADT).
Fields
§
hypervisor_vendor_identity: u64Hypervisor vendor identity for the FADT. Zero when not running under a hypervisor.
§
smmu: Vec<AcpiSmmuConfig>SMMUv3 instances. Each entry adds an SMMUv3 IORT node for the specified PCI segment. Empty means no SMMU.
Auto Trait Implementations§
impl Freeze for AcpiArchConfig
impl RefUnwindSafe for AcpiArchConfig
impl Send for AcpiArchConfig
impl Sync for AcpiArchConfig
impl Unpin for AcpiArchConfig
impl UnsafeUnpin for AcpiArchConfig
impl UnwindSafe for AcpiArchConfig
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