[−][src]Struct acpi::PciConfigRegions
Describes a set of regions of physical memory used to access the PCI-E configuration space. A
region is created for each entry in the MCFG. Given the segment group, bus, device number, and
function of a PCI-E device, the physical_address
method on this will give you the physical
address of the start of that device function's configuration space (each function has 4096
bytes of configuration space in PCI-E).
Methods
impl PciConfigRegions
[src]
pub fn physical_address(
&self,
segment_group_no: u16,
bus: u8,
device: u8,
function: u8
) -> Option<u64>
[src]
&self,
segment_group_no: u16,
bus: u8,
device: u8,
function: u8
) -> Option<u64>
Get the physical address of the start of the configuration space for a given PCI-E device
function. Returns None
if there isn't an entry in the MCFG that manages that device.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,