Trait chipset_device::pio::RegisterPortIoIntercept
source · pub trait RegisterPortIoIntercept {
// Required method
fn new_io_region(
&mut self,
region_name: &str,
len: u16,
) -> Box<dyn ControlPortIoIntercept>;
}
Expand description
A trait to register device-specific IO intercept regions.
Required Methods§
sourcefn new_io_region(
&mut self,
region_name: &str,
len: u16,
) -> Box<dyn ControlPortIoIntercept>
fn new_io_region( &mut self, region_name: &str, len: u16, ) -> Box<dyn ControlPortIoIntercept>
Registers a new IO region of the given length.