RTEMS | cpukit/score/.../cpu.h: Implement _CPU_Spin_wait() (!1256)
Wayne Thornton (@wmthornton-dev)
gitlab at rtems.org
Fri May 22 19:29:26 UTC 2026
Wayne Thornton created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1256
Project:Branches: wmthornton-dev/rtems:cpu-spin-wait to rtems/rtos/rtems:main
Author: Wayne Thornton
Assignee: Wayne Thornton
Reviewer: Gedare Bloom
## Summary
cpukit/score/.../cpu.h: Implement _CPU_Spin_wait()
`_CPU_Spin_wait()` is an assembly function which prevents
aggressive speculative execution by the CPU during spin-wait
loops. Added benefit is reduction of thermal load. This
function is part of the Deterministic Hedged Read Library API.
Similar architecture-specific assembly functions will be needed for other RTEMS_SMP
capable BSPs that the DHRL API is ported to.
## Generative AI
No AI was used in the creation of this commit.
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1256
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/20260522/33da74db/attachment.htm>
More information about the bugs
mailing list