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§

source

fn new_line(&mut self, id: LineSetId, name: &str, vector: u32) -> LineInterrupt

Creates a new line interrupt.

source

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.

source

fn omit_saved_state(&mut self)

Tags this device so that its save/restore routines will not be called.

Implementors§