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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to