RTEMS | bsp/shared/atomics: Add missing GCC atomics (!510)
Joel Sherrill (@joel)
gitlab at rtems.org
Fri Jun 13 22:12:31 UTC 2025
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/510
Project:Branches: joel/rtems:7-provide-atomic-helpers-in-bsp to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
## Summary
Provide missing GCC atomics helpers as part of BSPs where GCC
does not know how to provide it since the CPU's ISA has no
atomic instructions. The implementation provided in
bsps/shared/atomics/__atomic_test_and_set.c should work
on any single core CPU.
The BSPs that need thie function tend to have older cores. This
is the list of BSPs:
arm - csb336, csb337, csb637, edb7312, gumstix, kit637_v6, lpc24xx_ea,
lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int,
lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc32xx_mzx,
lpc32xx_mzx_stage_1, lpc32xx_mzx_stage_2, lpc32xx_phycore,
rtl22xx, rtl22xx_t, smdk2410
m68k - av5282, mcf5329
mips - jmr3904
moxie - moxiesim
nios2 - nios2_iss
riscv - grv32i, grv32im, niosvc10lp, noel32im, rv32i, rv32im,
sparc - ut699
<!-- Default settings, if it is a dropdown it will set after submission -->
Updates #5267
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/510
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250613/f77b1f89/attachment.htm>
More information about the bugs
mailing list