mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
056100c1ca
- 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 |
||
---|---|---|
.. | ||
include | ||
ldscripts | ||
periph | ||
cortexm_init.c | ||
Kconfig | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
mpu.c | ||
panic.c | ||
thread_arch.c | ||
vectors_cortexm.c |