Hi,On x86/win architecture there is a function called MemoryBarrier that prevents the CPU from re-ordering read/write operations.Is there something like that on arm architecture ?// x86FORCEINLINE VOIDMemoryBarrier (VOID){ LONG Barrier; __asm { xchg Barrier, eax }}
Older generations of ARM processors (e.g. ARM7TDMI) does not have memory barrier instructions.Newer ARM processors (all Cortex-A, Cortex-R and Cortex-M processors) have memory barrier instructions