summaryrefslogtreecommitdiff
path: root/rust/kernel/irq.rs
blob: 068df2fea31de51115c30344f7ebdb4da4ad86cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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)

/// Flags to be used when registering IRQ handlers.
mod flags;

pub use flags::Flags;