1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/cortexm_common
Marian Buschsieweke 056100c1ca
cpu/cortexm_common: Fix cpu_switch_context_exit()
- Use `irq_enable()` over `bl irq_enable`, as `irq_enable()` is an inline
  function and not a C function any more
- Drop `__attribute__((naked))` qualifier
    - It must be used with the declaration of the function, but there it is
      missing. (And it cannot be added there, as this function would need to
      be implemented as "naked" by every platform; which is impossible for
      platforms not supporting `__attribute__((naked))`.)
    - Only functions consisting completely of basic asm may be marked as naked.
      But both the assembly used to trigger the SVC interrupt as well as the
      assembly used in `irq_enable()` are extended asm, not basic asm
- Use ` UNREACHABLE();` over a custom asm construct
2020-07-03 12:48:42 +02:00
..
include cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
ldscripts cpu/sam0_common: hook up low power RAM as extra heap 2020-02-20 17:11:25 +01:00
periph cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
cortexm_init.c cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
Kconfig cpu/cortexm: implement sched_arch_idle() and disable idle thread 2020-06-25 16:02:28 +02:00
Makefile cpu: cortexm: fix LTO issue for shared vector table (see #5774) 2017-10-20 22:19:44 +02:00
Makefile.dep cpu/cortexm: Add 'cortexm_fpu' as a DEFAULT_MODULE if possible 2020-04-01 09:46:29 +02:00
Makefile.features cpu/cortexm: implement sched_arch_idle() and disable idle thread 2020-06-25 16:02:28 +02:00
Makefile.include cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
mpu.c cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
panic.c cpu*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
thread_arch.c cpu/cortexm_common: Fix cpu_switch_context_exit() 2020-07-03 12:48:42 +02:00
vectors_cortexm.c cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00