#[non_exhaustive]pub struct Piix4UsbUhciStub {}
Expand description
PIIX4 (PCI device function 2) - USB configuration (stub)
See section 3.3 in the PIIX4 data sheet.
We only minimally support the UHCI controller because it is part of the chipset that we emulate.
If we wanted to support USB in the future, it is highly unlikely that we would implement it as part of the legacy chipset.
Implementations§
Trait Implementations§
Source§impl ChangeDeviceState for Piix4UsbUhciStub
impl ChangeDeviceState for Piix4UsbUhciStub
Source§impl ChipsetDevice for Piix4UsbUhciStub
impl ChipsetDevice for Piix4UsbUhciStub
Source§fn 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.
§fn supports_pio(&mut self) -> Option<&mut (dyn PortIoIntercept + 'static)>
fn supports_pio(&mut self) -> Option<&mut (dyn PortIoIntercept + 'static)>
Optionally returns a trait object to send IO port intercepts to.
§fn supports_mmio(&mut self) -> Option<&mut (dyn MmioIntercept + 'static)>
fn supports_mmio(&mut self) -> Option<&mut (dyn MmioIntercept + 'static)>
Optionally returns a trait object to send MMIO port intercepts to.
§fn 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.
§fn 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.
§fn 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.
§fn 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.
Source§impl Debug for Piix4UsbUhciStub
impl Debug for Piix4UsbUhciStub
Source§impl InspectMut for Piix4UsbUhciStub
impl InspectMut for Piix4UsbUhciStub
Source§fn inspect_mut(&mut self, req: Request<'_>)
fn inspect_mut(&mut self, req: Request<'_>)
Inspects the object.
Source§impl PciConfigSpace for Piix4UsbUhciStub
impl PciConfigSpace for Piix4UsbUhciStub
Sidestep the config space emulator, and match legacy stub behavior directly
Source§fn pci_cfg_read(&mut self, offset: u16, value: &mut u32) -> IoResult
fn pci_cfg_read(&mut self, offset: u16, value: &mut u32) -> IoResult
Dispatch a PCI config space read to the device with the given address.
Source§fn pci_cfg_write(&mut self, offset: u16, value: u32) -> IoResult
fn pci_cfg_write(&mut self, offset: u16, value: u32) -> IoResult
Dispatch a PCI config space write to the device with the given address.
Source§impl SaveRestore for Piix4UsbUhciStub
impl SaveRestore for Piix4UsbUhciStub
Auto Trait Implementations§
impl Freeze for Piix4UsbUhciStub
impl RefUnwindSafe for Piix4UsbUhciStub
impl Send for Piix4UsbUhciStub
impl Sync for Piix4UsbUhciStub
impl Unpin for Piix4UsbUhciStub
impl UnwindSafe for Piix4UsbUhciStub
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PciChipsetDeviceExt for Twhere
T: ChipsetDevice + PciConfigSpace + ?Sized,
impl<T> PciChipsetDeviceExt for Twhere
T: ChipsetDevice + PciConfigSpace + ?Sized,
§fn probe_bar_masks(&mut self) -> [u32; 6]
fn probe_bar_masks(&mut self) -> [u32; 6]
Probe the PCI device’s BAR registers to retrieve the BAR masks.
§fn probe_hardware_ids(&mut self) -> HardwareIds
fn probe_hardware_ids(&mut self) -> HardwareIds
Probe the PCI device’s configuration space registers to obtain the
device’s hardware ID values.