pub struct PcieHostBridgeEntry {
pub index: u32,
pub segment: u16,
pub start_bus: u8,
pub end_bus: u8,
pub ecam_range: MemoryRange,
pub low_mmio: MemoryRange,
pub high_mmio: MemoryRange,
pub cxl: bool,
pub vnode: Option<u32>,
pub preserve_boot_config: bool,
}Expand description
Parameters for adding a PCIe host bridge to the SSDT.
Fields§
§index: u32Unique index of this host bridge.
segment: u16PCIe segment number.
start_bus: u8Lowest valid bus number.
end_bus: u8Highest valid bus number.
ecam_range: MemoryRangeMemory range for ECAM configuration space access.
low_mmio: MemoryRangeMemory range for low MMIO.
high_mmio: MemoryRangeMemory range for high MMIO.
cxl: boolWhether this host bridge supports CXL.
vnode: Option<u32>NUMA proximity domain.
preserve_boot_config: boolWhen true, emit a _DSM method (“Ignore PCI Boot Configurations”, PCI
Firmware Spec §4.6 function 5) instructing the guest OS to keep the
firmware-assigned PCI boot configuration (bus numbers and BARs) rather
than reprogramming it.
Auto Trait Implementations§
impl Freeze for PcieHostBridgeEntry
impl RefUnwindSafe for PcieHostBridgeEntry
impl Send for PcieHostBridgeEntry
impl Sync for PcieHostBridgeEntry
impl Unpin for PcieHostBridgeEntry
impl UnsafeUnpin for PcieHostBridgeEntry
impl UnwindSafe for PcieHostBridgeEntry
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