RTEMS | [powerpc] cpukit/score/.../cpu.h: Add _CPU_Spin_wait to powerpc (!1367)
Vijay Banerjee (@vijay)
gitlab at rtems.org
Fri Jul 24 19:55:10 UTC 2026
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1367 was reviewed by Vijay Banerjee
--
Vijay Banerjee started a new discussion on cpukit/score/cpu/powerpc/include/rtems/score/cpu.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1367#note_155404
> +static inline void _CPU_Spin_wait( void )
> +{
> + __asm__ volatile ( "or 27, 27, 27" : : : "memory" );
Where/when do you restore the priority?
In powerpc, `or 27, 27, 27` is a persistent change. It's not "temporary" unless restored. Need to do another `or` to set it to low/medium/high priority or wait for an interrupt
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1367
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-dihvtjwmeufohpm6qa429oyu4-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260724/d22e0171/attachment-0001.htm>
More information about the bugs
mailing list