nuttx/libs/libc/machine
zhangyu117 2f46ced5c7 libc/machine: split atomic into header, arch_atomic_irq.c, arch_atomic64.c
Split the atomic implementation into three files:
- arch_atomic.h: Shared macros (STORE, LOAD, etc.) using atomic_lock()/
  atomic_unlock() abstraction
- arch_atomic_irq.c: 32-bit atomic functions using IRQ disable (conditional
  on CONFIG_LIBC_ATOMIC_IRQ via Make.defs)
- arch_atomic64.c: 64-bit atomic functions using spinlock (always compiled,
  multi-core safe). The __atomic_* functions are always provided (GCC
  runtime helpers), while nx_atomic_* functions are conditional on
  !CONFIG_LIBC_ATOMIC_TOOLCHAIN.

Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com>
2026-08-24 13:20:45 +08:00
..
arm arm: memcpy: add NEON paths for aligned copies 2026-05-09 09:46:43 +08:00
arm64 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
mips arch/mips: Add support for loadable ELF modules 2026-08-11 09:46:46 -03:00
renesas libc/machine/renesas: Move all source files out of gnu folder 2025-06-30 09:56:27 +08:00
risc-v libs/libc/machine/risc-v: Compare a register at a time on equal offsets. 2026-08-17 12:24:06 +02:00
sim include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sparc include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
tricore nuttx/libc: refine the atomic related Kconfig 2026-08-24 13:20:45 +08:00
x86 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
xtensa include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
arch_atomic.h libc/machine: split atomic into header, arch_atomic_irq.c, arch_atomic64.c 2026-08-24 13:20:45 +08:00
arch_atomic64.c libc/machine: split atomic into header, arch_atomic_irq.c, arch_atomic64.c 2026-08-24 13:20:45 +08:00
arch_atomic_irq.c libc/machine: split atomic into header, arch_atomic_irq.c, arch_atomic64.c 2026-08-24 13:20:45 +08:00
arch_libc.c string:use builtin function to optimize libc function 2025-12-20 10:38:53 +08:00
CMakeLists.txt libc/machine: split atomic into header, arch_atomic_irq.c, arch_atomic64.c 2026-08-24 13:20:45 +08:00
Kconfig nuttx/libc: refine the atomic related Kconfig 2026-08-24 13:20:45 +08:00
Make.defs libc/machine: split atomic into header, arch_atomic_irq.c, arch_atomic64.c 2026-08-24 13:20:45 +08:00