#driver #arm #aarch64 #gic #interrupt-controller

no-std arm-gic-driver

A driver for the Arm Generic Interrupt Controller version 1-4

3 unstable releases

new 0.3.0 Oct 30, 2024
0.2.1 Oct 21, 2024
0.2.0 Oct 8, 2024

#262 in Embedded development

Download history 174/week @ 2024-10-07 22/week @ 2024-10-14 167/week @ 2024-10-21

363 downloads per month

MIT license

31KB
807 lines

arm-gic-driver

介绍

arm gic 通用驱动,支持 v1-4

使用说明

let mut v2 = GicV2::new(gicd, gicc).unwrap();
v2.enable_irq(irq_num);
let mut v3 = GicV3::new(gicd, gicr).unwrap();
v3.enable_irq(irq_num);

Dependencies

~0.9–1.4MB
~28K SLoC