Trait chipset_device::ChipsetDevice
source · pub trait ChipsetDevice: 'static + Send {
// Provided methods
fn supports_pio(&mut self) -> Option<&mut dyn PortIoIntercept> { ... }
fn supports_mmio(&mut self) -> Option<&mut dyn MmioIntercept> { ... }
fn supports_pci(&mut self) -> Option<&mut dyn PciConfigSpace> { ... }
fn supports_poll_device(&mut self) -> Option<&mut dyn PollDevice> { ... }
fn supports_line_interrupt_target(
&mut self,
) -> Option<&mut dyn LineInterruptTarget> { ... }
fn supports_handle_eoi(&mut self) -> Option<&mut dyn HandleEoi> { ... }
fn supports_acknowledge_pic_interrupt(
&mut self,
) -> Option<&mut dyn AcknowledgePicInterrupt> { ... }
}
Expand description
Implemented by any device that is considered part of the guest’s “chipset” (insofar as it exists on one or more system busses).
Provided Methods§
sourcefn supports_pio(&mut self) -> Option<&mut dyn PortIoIntercept>
fn supports_pio(&mut self) -> Option<&mut dyn PortIoIntercept>
Optionally returns a trait object to send IO port intercepts to.
sourcefn supports_mmio(&mut self) -> Option<&mut dyn MmioIntercept>
fn supports_mmio(&mut self) -> Option<&mut dyn MmioIntercept>
Optionally returns a trait object to send MMIO port intercepts to.
sourcefn supports_pci(&mut self) -> Option<&mut dyn PciConfigSpace>
fn supports_pci(&mut self) -> Option<&mut dyn PciConfigSpace>
Optionally returns a trait object to send PCI config space accesses to.
sourcefn supports_poll_device(&mut self) -> Option<&mut dyn PollDevice>
fn supports_poll_device(&mut self) -> Option<&mut dyn PollDevice>
Optionally returns a trait object to send poll requests to.
sourcefn supports_line_interrupt_target(
&mut self,
) -> Option<&mut dyn LineInterruptTarget>
fn supports_line_interrupt_target( &mut self, ) -> Option<&mut dyn LineInterruptTarget>
Optionally returns a trait object to send interrupt line changes to.
sourcefn supports_handle_eoi(&mut self) -> Option<&mut dyn HandleEoi>
fn supports_handle_eoi(&mut self) -> Option<&mut dyn HandleEoi>
Optionally returns a trait object to send EOI requests to.
sourcefn supports_acknowledge_pic_interrupt(
&mut self,
) -> Option<&mut dyn AcknowledgePicInterrupt>
fn supports_acknowledge_pic_interrupt( &mut self, ) -> Option<&mut dyn AcknowledgePicInterrupt>
Optionally returns a trait object with which to acknowledge PIC interrupts.