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

no-std arm-gic

A driver for the Arm Generic Interrupt Controller version 2, 3 or 4

6 releases

0.2.2 Feb 26, 2025
0.2.1 Feb 18, 2025
0.1.2 Nov 21, 2024
0.1.1 Aug 9, 2024
0.1.0 Apr 17, 2023

#289 in Embedded development

Download history 178/week @ 2024-11-16 156/week @ 2024-11-23 152/week @ 2024-11-30 125/week @ 2024-12-07 343/week @ 2024-12-14 128/week @ 2024-12-21 684/week @ 2024-12-28 197/week @ 2025-01-04 281/week @ 2025-01-11 155/week @ 2025-01-18 97/week @ 2025-01-25 310/week @ 2025-02-01 105/week @ 2025-02-08 381/week @ 2025-02-15 541/week @ 2025-02-22 252/week @ 2025-03-01

1,316 downloads per month
Used in libhermit-rs

MIT/Apache

66KB
1K SLoC

Arm Generic Interrupt Controller driver

crates.io page docs.rs page

This crate provides Rust drivers for the Arm Generic Interrupt Controller version 2, 3 or 4 (GICv2, GICv3 and GICv4) on aarch32 and aarch64.

Because of large technical differences between the version 2 and version 3/4 Generic Interrupt Controllers, they have been separated in different modules. Use the one appropriate for your hardware. The interfaces are largely compatible. Only differences when dispatching software-generated interrupts should be considered. Look at the ARM manuals for further details.

This is not an officially supported Google product.

License

Licensed under either of

at your option.

Contributing

If you want to contribute to the project, see details of how we accept contributions.

Dependencies

~305–770KB
~18K SLoC