nuttx-update/arch
Takuya Miyasita 2275138dcf 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.

About libcxx with CONFIG_LIBC_ARCH_ATOMIC, it still
does not work. It is also needed to call nx_atomic_ ver
instead of __atomic ver in
libcxx/include/__atomic/cxx_atomic_lmpl.h.

Signed-off-by: Takuya Miyasita <Takuya.Miyashita@sony.com>
2024-11-15 14:01:56 +08:00
..
arm arch_atomic : Introduce CONFIG_LIBC_ARCH_ATOMIC 2024-11-15 14:01:56 +08:00
arm64 arm64/imx9: add imx93-evk ddr training 2024-11-15 09:56:31 +08:00
avr driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
ceva irq: force inline up_interrupt_context 2024-10-31 15:43:41 +08:00
dummy
hc driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
mips driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
misoc driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
or1k irq: force inline up_interrupt_context 2024-10-31 15:43:41 +08:00
renesas arch: Fix minor style issue 2024-10-28 09:24:55 +01:00
risc-v gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
sim sim: Add compiler selection 2024-11-15 01:05:16 +08:00
sparc irq: force inline up_interrupt_context 2024-10-31 15:43:41 +08:00
tricore gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
x86 driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
x86_64 gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
xtensa gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
z16 driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
z80 arch: Fix minor style issue 2024-10-28 09:24:55 +01:00
CMakeLists.txt greenhills: fix the arch_interface archive error 2024-09-27 23:39:56 +08:00
Kconfig arch/toochain: Add toochain to gcc 2024-11-14 15:45:24 +08:00