Commit 1f54d5e5 authored by Daniel Almeida's avatar Daniel Almeida Committed by Danilo Krummrich
Browse files

rust: irq: add irq module



Add the IRQ module. Future patches will then introduce support for IRQ
registrations and handlers.

Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Tested-by: default avatarJoel Fernandes <joelagnelf@nvidia.com>
Tested-by: default avatarDirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: default avatarDaniel Almeida <daniel.almeida@collabora.com>
Link: https://lore.kernel.org/r/20250811-topics-tyr-request_irq2-v9-1-0485dcd9bcbf@collabora.com


Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
parent 8f5ae30d
Loading
Loading
Loading
Loading

rust/kernel/irq.rs

0 → 100644
+11 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0

//! IRQ abstractions.
//!
//! An IRQ is an interrupt request from a device. It is used to get the CPU's
//! attention so it can service a hardware event in a timely manner.
//!
//! The current abstractions handle IRQ requests and handlers, i.e.: it allows
//! drivers to register a handler for a given IRQ line.
//!
//! C header: [`include/linux/device.h`](srctree/include/linux/interrupt.h)
+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@
pub mod init;
pub mod io;
pub mod ioctl;
pub mod irq;
pub mod jump_label;
#[cfg(CONFIG_KUNIT)]
pub mod kunit;