pub struct Gic { /* private fields */ }
Expand description
GICv2 driver. (support GICv1)
Implementations§
Trait Implementations§
Source§impl DriverGeneric for Gic
impl DriverGeneric for Gic
fn open(&mut self) -> DriverResult
fn close(&mut self) -> DriverResult
Source§impl Interface for Gic
impl Interface for Gic
fn current_cpu_setup(&self) -> HardwareCPU
fn irq_enable(&mut self, irq: IrqId)
fn irq_disable(&mut self, irq: IrqId)
fn set_priority(&mut self, irq: IrqId, priority: usize)
fn set_trigger(&mut self, irq: IrqId, trigger: Trigger)
fn set_target_cpu(&mut self, irq: IrqId, cpu: CpuId)
impl Send for Gic
Auto Trait Implementations§
impl Freeze for Gic
impl !RefUnwindSafe for Gic
impl !Sync for Gic
impl Unpin for Gic
impl !UnwindSafe for Gic
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