pub struct DualPic { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl AcknowledgePicInterrupt for DualPic
impl AcknowledgePicInterrupt for DualPic
Source§fn acknowledge_interrupt(&mut self) -> Option<u8>
fn acknowledge_interrupt(&mut self) -> Option<u8>
Gets the current pending IRQ and sets it in service.
Source§impl ChipsetDevice for DualPic
impl ChipsetDevice for DualPic
Source§fn 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.
Source§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.
Source§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.
§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_pci(&mut self) -> Option<&mut (dyn PciConfigSpace + 'static)>
fn supports_pci(&mut self) -> Option<&mut (dyn PciConfigSpace + 'static)>
Optionally returns a trait object to send PCI config space accesses 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_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.
Source§impl InspectMut for DualPic
impl InspectMut for DualPic
Source§fn inspect_mut(&mut self, req: Request<'_>)
fn inspect_mut(&mut self, req: Request<'_>)
Inspects the object.
Source§impl LineInterruptTarget for DualPic
impl LineInterruptTarget for DualPic
Source§fn valid_lines(&self) -> &[RangeInclusive<u32>]
fn valid_lines(&self) -> &[RangeInclusive<u32>]
Returns the valid vector ranges for this target.
Source§impl PortIoIntercept for DualPic
impl PortIoIntercept for DualPic
Source§fn io_read(&mut self, io_port: u16, data: &mut [u8]) -> IoResult
fn io_read(&mut self, io_port: u16, data: &mut [u8]) -> IoResult
Dispatch an IO port read to the device with the given address.
Source§fn io_write(&mut self, io_port: u16, data: &[u8]) -> IoResult
fn io_write(&mut self, io_port: u16, data: &[u8]) -> IoResult
Dispatch an IO port write to the device with the given address.
§fn get_static_regions(&mut self) -> &[(&str, RangeInclusive<u16>)]
fn get_static_regions(&mut self) -> &[(&str, RangeInclusive<u16>)]
Report a set of static io port regions (region_name, port_range) that
cannot be remapped at runtime and are always registered. Read more
Auto Trait Implementations§
impl Freeze for DualPic
impl !RefUnwindSafe for DualPic
impl Send for DualPic
impl Sync for DualPic
impl Unpin for DualPic
impl !UnwindSafe for DualPic
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