Naked interrupt

nobody wrote on Friday, October 13, 2006:

Hi,
I am new on RTOS. I was studing How FreeRTOS Works pages and I see naked interrupt. I want to use renesas M16C and I cant see the term naked.
Compiler always puts  saving and restoring command on interrupt . Is there any body now how this can be done . Is there any term instead of the term "Naked".

Regards
Deveciyan.

nobody wrote on Friday, October 13, 2006:

The documentation only shows the solution for AVR with GCC.  Each port has its own solution.  Take a look at some of the other ports to get more ideas.

Other options are:

Have a common interrupt entry point that saves and restores the context, then write your ISR’s as standard functions.  This is how the STR9 port works.

Have entry and exit points in assembly code, then write your ISR’s in C as standard functions.  This is how the STR7 port works.