pub trait ConfigureChipsetDevice: Send {
// Required methods
fn new_line(
&mut self,
id: LineSetId,
name: &str,
vector: u32,
) -> LineInterrupt;
fn add_line_target(
&mut self,
id: LineSetId,
source_range: RangeInclusive<u32>,
target_start: u32,
);
fn omit_saved_state(&mut self);
}
Expand description
A trait for configuring a chipset device’s connection to the platform.
Required Methods§
sourcefn new_line(&mut self, id: LineSetId, name: &str, vector: u32) -> LineInterrupt
fn new_line(&mut self, id: LineSetId, name: &str, vector: u32) -> LineInterrupt
Creates a new line interrupt.
sourcefn add_line_target(
&mut self,
id: LineSetId,
source_range: RangeInclusive<u32>,
target_start: u32,
)
fn add_line_target( &mut self, id: LineSetId, source_range: RangeInclusive<u32>, target_start: u32, )
Adds this device as a target for a range of line interrupts.
sourcefn omit_saved_state(&mut self)
fn omit_saved_state(&mut self)
Tags this device so that its save/restore routines will not be called.