github-actions · GitHub

@masayuki2009

xiaoxiang781216

@TakuyaMiyasita

xiaoxiang781216

@TakuyaMiyasita

xiaoxiang781216

@TakuyaMiyasita

@github-actions github-actions Bot added Size: L

The size of the change in this PR is large

and removed Size: M

The size of the change in this PR is medium

labels

Nov 11, 2024

@TakuyaMiyasita

@github-actions github-actions Bot added Size: M

The size of the change in this PR is medium

and removed Size: L

The size of the change in this PR is large

labels

Nov 11, 2024

xiaoxiang781216

@xiaoxiang781216 xiaoxiang781216 changed the title arch_atomic : Introduce CONFIG_LIBC_ARCH_NXATOMIC arch_atomic : Introduce CONFIG_LIBC_ARCH_ATOMIC

Nov 11, 2024

xiaoxiang781216

@TakuyaMiyasita

masayuki2009

@TakuyaMiyasita

@github-actions github-actions Bot added Size: L

The size of the change in this PR is large

and removed Size: M

The size of the change in this PR is medium

labels

Nov 12, 2024
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>

@TakuyaMiyasita

xiaoxiang781216

@masayuki2009

Merged

Merged

Read the original on github.com ↗