1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cortex-m0_common
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
..
include cpu: removed NAKED attribute from ISRs 2014-10-30 19:33:32 +01:00
atomic_arch.c cpu: Initial import of cortex-m0_common 2014-07-16 15:21:23 +02:00
irq_arch.c cpu: Initial import of cortex-m0_common 2014-07-16 15:21:23 +02:00
Makefile cpu: Initial import of cortex-m0_common 2014-07-16 15:21:23 +02:00
Makefile.include cpu: Initial import of cortex-m0_common 2014-07-16 15:21:23 +02:00
thread_arch.c cpu: use typed function pointer for thread_arch_init 2014-10-23 18:26:21 +02:00