diff options
| author | Manuel Traut <manut@linutronix.de> | 2019-01-11 08:35:12 +0100 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2019-01-28 19:59:32 +0106 |
| commit | 0f2bdbda59d69191eb80ee223bbbbf2f8061e891 (patch) | |
| tree | de351ab3f8191079bb1a425f07fd303f5c72821c /schulung_tools/notes/interrupts.txt | |
| parent | 2268f2b2371e02762bf511cf1db1e3609b58f849 (diff) | |
schulung_tools/notes add some kernel notes
they should be converted to a 'Kernel API' slideset.
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'schulung_tools/notes/interrupts.txt')
| -rw-r--r-- | schulung_tools/notes/interrupts.txt | 8 |
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) |
