Gedare Bloom started a new discussion on cpukit/dhrl/dhrl.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150586

 > +#include <sys/cpuset.h>
 > +#include <stddef.h>
 > +#include <stdint.h>
 > +#include <rtems/thread.h>
 > +#include <stdatomic.h>
 > +#include <rtems/score/cpu.h>
 > +#include <rtems/rtems/cache.h>
 > +
 > +/* Fallback protection if the active architecture BSP lacks the pause hook 
 > */
 > +#ifndef _CPU_Pause_speculation
 > +  #define _CPU_Pause_speculation() \
 > +  __asm__ __volatile__( ""         \
 > +                        :          \
 > +                        :          \
 > +                        : "memory" )
 > +#endif

This should be provided as a default in the CPU ports.

I guess this is just an `RTEMS_COMPILER_MEMORY_BARRIER`. I would make that the 
explicit default implementation if this is necessary.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150586
You're receiving this email because of your account on gitlab.rtems.org.


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

Reply via email to