walnux/include/nuttx/lib
Takuya Miyasita 81e7b13a05 arch_atomic : Introduce CONFIG_LIBC_ARCH_ATOMIC
Some armv7-m-based SoCs do not work with atomic instructions,
even though armv7-m supports them.

To avoid using atomic instructions generated by gcc,
CONFIG_LIBC_ARCH_ATOMIC is newly introduced with which
arch_atomic.c is linked explicitly.

However, the function names need to be changed to avoid
build errors, since the functions described in stdatomic.h
are gcc built-in and inlined when the code is compiled.

Signed-off-by: Takuya Miyasita <Takuya.Miyashita@sony.com>
2024-11-12 14:27:42 +09:00
..
builtin.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
float.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
lib.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
math.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
math32.h math: remove is_power_of_2() keep IS_POWER_OF_2() 2024-10-07 18:39:27 +08:00
modlib.h modlib:if elf in romfs/tmpfs, try use xipbase 2024-10-16 18:40:06 +08:00
setjmp.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdarg.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
stdatomic.h arch_atomic : Introduce CONFIG_LIBC_ARCH_ATOMIC 2024-11-12 14:27:42 +09:00
xorshift128.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00