LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   interrupt service routine (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/interrupt-service-routine-4175429410/)

elico 09-28-2012 06:00 AM

interrupt service routine
 
interrupt service routine what are the rules of writing
the code for this ?

does the compiler HELP decribe this ?

In case I am writing c code for a specific embedded
system , how do i know how to write the code for
interrupt service routine ?

Yhanks
elico

smallpond 09-28-2012 04:37 PM

Best source of info for writing any kernel code is:
http://lwn.net/Kernel/LDD3/

See chapter 10 for ISRs. The only special compiler setting is that you can't use any floating point registers in the kernel, since they aren't saved on system calls.

elico 09-30-2012 04:17 AM

Many thanks
Elico


All times are GMT -5. The time now is 11:02 AM.