pub struct DmarDrhd<'t> { /* private fields */ }
Expand description
DRHD: DMAR Hardware Unit Definition Structure.
This table is described in Section 8.3 of the VT Directed I/O Spec.
Implementations§
source§impl<'t> DmarDrhd<'t>
impl<'t> DmarDrhd<'t>
sourcepub fn iter(&self) -> DrhdIter<'t> ⓘ
pub fn iter(&self) -> DrhdIter<'t> ⓘ
Returns an Iterator
over the DmarDeviceScope
entries in this DRHD,
which are variable in both number and size.
sourcepub fn include_pci_all(&self) -> bool
pub fn include_pci_all(&self) -> bool
Returns the value of the INCLUDE_PCI_ALL
flag,
the only bit flag in this DRHD table.
Description from Intel Spec
If false
, this remapping hardware unit has under its scope only
devices in the specified segment that are explicitly identified through
the Device Scope field. The device can be of any type as described by
the Type field in the Device Scope Structure including (but not limited to)
IOAPIC and HPET.
If true
, this remapping hardware unit has under its scope all PCI
compatible devices in the specified segment, except devices reported
under the scope of other remapping hardware units for the same segment.
As such, one can use the Device Scope structures to enumerate
IOAPIC and HPET devices under its scope.
sourcepub fn segment_number(&self) -> u16
pub fn segment_number(&self) -> u16
Returns the PCI segment number associated with this DRHD.
sourcepub fn register_base_address(&self) -> u64
pub fn register_base_address(&self) -> u64
Returns the base address of this DRHD’s remapping hardware register set.