1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cortex-m3_common/include
Hauke Petersen e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
..
core_cm3.h doc: tailor CMSIS doxygen for license checker 2014-09-15 08:27:59 +02:00
core_cmFunc.h cpu: change __ASM to asm (cppcheck uninitvar error) 2014-09-17 00:20:20 +02:00
core_cmInstr.h doc: tailor CMSIS doxygen for license checker 2014-09-15 08:27:59 +02:00
cpu.h cpu: removed NAKED attribute from ISRs 2014-10-30 19:33:32 +01:00