On 4/13/21 7:44 AM, Sebastian Huber wrote:
On 12/04/2021 21:40, Jiri Gaisler wrote:
I just realized that I can change the patch from an assembly WFI to a simple busy loop instead. This would work on any architecture without assembly. Should I provide a new patch with this cleaner solution?
You can use
(void) _CPU_Thread_Idle_body( 0 );
for an idle loop which my use architecture/BSP-specific optimizations, e.g. wfi.
Elegant solution! I will post a patch with this fix.
Jiri.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel