From 0f2bdbda59d69191eb80ee223bbbbf2f8061e891 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Fri, 11 Jan 2019 08:35:12 +0100 Subject: schulung_tools/notes add some kernel notes they should be converted to a 'Kernel API' slideset. Signed-off-by: Manuel Traut --- schulung_tools/notes/interrupts.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 schulung_tools/notes/interrupts.txt (limited to 'schulung_tools/notes/interrupts.txt') 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) -- cgit v1.2.3