pub struct RootComplex<C: Chip> { /* private fields */ }Implementations§
Source§impl<C> RootComplex<C>where
C: Chip,
impl<C> RootComplex<C>where
C: Chip,
pub fn new_with_chip(mmio_base: NonNull<u8>, chip: C) -> Self
pub fn enumerate<A: BarAllocator>( &mut self, range: Option<Range<usize>>, bar_alloc: Option<A>, ) -> PciIterator<'_, C, A>
pub fn read_config(&self, address: PciAddress, offset: u16) -> u32
pub fn write_config(&mut self, address: PciAddress, offset: u16, value: u32)
Trait Implementations§
Source§impl<C: Chip> ConfigRegionAccess for RootComplex<C>
impl<C: Chip> ConfigRegionAccess for RootComplex<C>
Auto Trait Implementations§
impl<C> Freeze for RootComplex<C>where
C: Freeze,
impl<C> RefUnwindSafe for RootComplex<C>where
C: RefUnwindSafe,
impl<C> !Send for RootComplex<C>
impl<C> !Sync for RootComplex<C>
impl<C> Unpin for RootComplex<C>where
C: Unpin,
impl<C> UnwindSafe for RootComplex<C>where
C: UnwindSafe,
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