summaryrefslogtreecommitdiff
path: root/schulung_tools/notes/interrupts.txt
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/notes/interrupts.txt')
-rw-r--r--schulung_tools/notes/interrupts.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/schulung_tools/notes/interrupts.txt b/schulung_tools/notes/interrupts.txt
new file mode 100644
index 0000000..2f6edcc
--- /dev/null
+++ b/schulung_tools/notes/interrupts.txt
@@ -0,0 +1,8 @@
+- programming interrupt handlers
+ - registering (request_irq)
+ - in_interrupt (check if in interrupt handler)
+ - in_atomic (cannot be scheduled away)
+ - no sleeping functions allowed
+ - can be shared
+ - handler code must check if it is the correct interrupt
+ - can be threaded (threadirqs)