search for: __kernel_memory_barrier

Displaying 1 result from an estimated 1 matches for "__kernel_memory_barrier".

2009 Sep 08
0
[LLVMdev] sys::MemoryFence() using __sync_synchronize() with GCC on ARM does not generate a memory fence
...w to fix it on that platform. ARM Darwin gurus please enlighten me how memory barriers are performed for ARM on Darwin. The kernel helper are implemented in http://kernel.ubuntu.com/git-repos/rtg/linux-2.6/arch/arm/kernel/entry-armv.S of the Linux sourcetree. /* * Reference prototype: * * void __kernel_memory_barrier(void) * * Input: * * lr = return address * * Output: * * none * * Clobbered: * * none * * Definition and user space usage example: * * typedef void (__kernel_dmb_t)(void); * #define __kernel_dmb (*(__kernel_dmb_t *)0xffff0fa0) * * Apply any needed memory barrier to preserve consi...