mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 05:12:59 +01:00
rust: irq: add irq module
Add the IRQ module. Future patches will then introduce support for IRQ registrations and handlers. Reviewed-by: Alice Ryhl <[email protected]> Tested-by: Joel Fernandes <[email protected]> Tested-by: Dirk Behme <[email protected]> Signed-off-by: Daniel Almeida <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
This commit is contained in:
1 parent
8f5ae30d69
commit
1f54d5e5cd
2 files changed
+12
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// 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)
|
||||
@@ -92,6 +92,7 @@ pub mod fs;
|
||||
pub mod init;
|
||||
pub mod io;
|
||||
pub mod ioctl;
|
||||
pub mod irq;
|
||||
pub mod jump_label;
|
||||
#[cfg(CONFIG_KUNIT)]
|
||||
pub mod kunit;
|
||||
|
||||
Reference in new issue
Block a user