Expand description
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
Structs§
- Flags
- Flags to be used when registering IRQ handlers.
- IrqRequest
- A request for an IRQ line for a given device.
- Registration
- A registration of an IRQ handler for a given IRQ line.
- Threaded
Registration - A registration of a threaded IRQ handler for a given IRQ line.
Enums§
- IrqReturn
- The value that can be returned from a
Handler
or aThreadedHandler
. - Threaded
IrqReturn - The value that can be returned from
ThreadedHandler::handle
.
Traits§
- Handler
- Callbacks for an IRQ handler.
- Threaded
Handler - Callbacks for a threaded IRQ handler.