-   Linux - Embedded & Single-board computer (
-   -   interrupt service routine (

elico 09-28-2012 05: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 ?


smallpond 09-28-2012 03:37 PM

Best source of info for writing any kernel code is:

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 03:17 AM

Many thanks

All times are GMT -5. The time now is 06:48 PM.