pub trait ChipsetServices {
type M: ChipsetServicesMeta;
// Provided methods
fn supports_mmio(
&mut self,
) -> Option<&mut dyn MmioInterceptServices<M = Self::M>> { ... }
fn supports_pio(
&mut self,
) -> Option<&mut dyn PortIoInterceptServices<M = Self::M>> { ... }
fn supports_pci(
&mut self,
) -> Option<&mut dyn PciConfigSpaceServices<M = Self::M>> { ... }
fn supports_poll_device(
&mut self,
) -> Option<&mut dyn PollDeviceServices<M = Self::M>> { ... }
}
Expand description
The intermediary that allows a device to wire itself up to various VM chipset services.
Required Associated Types§
Sourcetype M: ChipsetServicesMeta
type M: ChipsetServicesMeta
A bundle of associated types used by the concrete implementation.
Provided Methods§
Sourcefn supports_mmio(
&mut self,
) -> Option<&mut dyn MmioInterceptServices<M = Self::M>>
fn supports_mmio( &mut self, ) -> Option<&mut dyn MmioInterceptServices<M = Self::M>>
Support for MMIO intercepts.
Sourcefn supports_pio(
&mut self,
) -> Option<&mut dyn PortIoInterceptServices<M = Self::M>>
fn supports_pio( &mut self, ) -> Option<&mut dyn PortIoInterceptServices<M = Self::M>>
Support for Port IO intercepts.
Sourcefn supports_pci(
&mut self,
) -> Option<&mut dyn PciConfigSpaceServices<M = Self::M>>
fn supports_pci( &mut self, ) -> Option<&mut dyn PciConfigSpaceServices<M = Self::M>>
Support for PCI configuration space.
Sourcefn supports_poll_device(
&mut self,
) -> Option<&mut dyn PollDeviceServices<M = Self::M>>
fn supports_poll_device( &mut self, ) -> Option<&mut dyn PollDeviceServices<M = Self::M>>
Support for poll.