Skip to main content.
Navigation:
DENX
>
Training2
>
LddInterruptHandling
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
Training2
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
Training2 Home
Changes
Index
Search
Go
List of pages in Training2
Search
%SECTION0{name=LddInterruptHandling}% Interrupt Handling * simple! Write a handler: <verbatim> irqreturn_t handler(int irq, void *dev_id); </verbatim> * register it with the kernel... <verbatim> int request_irq(unsigned int irq, irq_handler_t handler, unsigned long irqflags, const char *devname, void * dev_id); </verbatim> * ...enable device to generate interrupts <verbatim> int fiddle_with_registers(); </verbatim> * and handle! (when done undo in reverse order) * But... this is not the case anymore for ARCH=powerpc! (but still for ARM) * Virtual vs. real interrupts
5.6.1. Accessing devices
1. Denx Training Topics
5.6.3. Deferring work
Prev
Home
Next