Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: irq: add irq module

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

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Tested-by: Joel Fernandes <joelagnelf@nvidia.com>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com>
Link: https://lore.kernel.org/r/20250811-topics-tyr-request_irq2-v9-1-0485dcd9bcbf@collabora.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>

authored by

Daniel Almeida and committed by
Danilo Krummrich
1f54d5e5 8f5ae30d

+12
+11
rust/kernel/irq.rs
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + //! IRQ abstractions. 4 + //! 5 + //! An IRQ is an interrupt request from a device. It is used to get the CPU's 6 + //! attention so it can service a hardware event in a timely manner. 7 + //! 8 + //! The current abstractions handle IRQ requests and handlers, i.e.: it allows 9 + //! drivers to register a handler for a given IRQ line. 10 + //! 11 + //! C header: [`include/linux/device.h`](srctree/include/linux/interrupt.h)
+1
rust/kernel/lib.rs
··· 92 92 pub mod init; 93 93 pub mod io; 94 94 pub mod ioctl; 95 + pub mod irq; 95 96 pub mod jump_label; 96 97 #[cfg(CONFIG_KUNIT)] 97 98 pub mod kunit;