arm_gic_driver

Trait GicGeneric

Source
pub trait GicGeneric {
    // Required methods
    fn get_and_acknowledge_interrupt(&self) -> Option<IntId>;
    fn end_interrupt(&self, intid: IntId);
    fn irq_max_size(&self) -> usize;
    fn irq_enable(&mut self, intid: IntId);
    fn irq_disable(&mut self, intid: IntId);
    fn set_priority(&mut self, intid: IntId, priority: usize);
    fn set_trigger(&mut self, intid: IntId, trigger: Trigger);
    fn set_bind_cpu(&mut self, intid: IntId, cpu_list: &[CPUTarget]);
    fn current_cpu_setup(&self);
}

Required Methods§

Source

fn get_and_acknowledge_interrupt(&self) -> Option<IntId>

Source

fn end_interrupt(&self, intid: IntId)

Source

fn irq_max_size(&self) -> usize

Source

fn irq_enable(&mut self, intid: IntId)

Source

fn irq_disable(&mut self, intid: IntId)

Source

fn set_priority(&mut self, intid: IntId, priority: usize)

Source

fn set_trigger(&mut self, intid: IntId, trigger: Trigger)

Source

fn set_bind_cpu(&mut self, intid: IntId, cpu_list: &[CPUTarget])

Source

fn current_cpu_setup(&self)

Implementors§