[BACK]Return to membar_ops.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / common / lib / libc / arch / arm / atomic

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/common/lib/libc/arch/arm/atomic/membar_ops.S between version 1.2.2.2 and 1.3

version 1.2.2.2, 2008/09/18 04:54:18 version 1.3, 2012/08/16 16:49:10
Line 33 
Line 33 
 #ifdef _ARM_ARCH_6  #ifdef _ARM_ARCH_6
   
 ENTRY_NP(_membar_producer)  ENTRY_NP(_membar_producer)
   #ifdef _ARM_ARCH_7
           dsb
   #else
         mcr     p15, 0, r0, c7, c10, 4   /* Data Synchronization Barrier */          mcr     p15, 0, r0, c7, c10, 4   /* Data Synchronization Barrier */
   #endif
         RET          RET
         END(_membar_producer)          END(_membar_producer)
 ATOMIC_OP_ALIAS(membar_producer,_membar_producer)  ATOMIC_OP_ALIAS(membar_producer,_membar_producer)
Line 41  ATOMIC_OP_ALIAS(membar_write,_membar_pro
Line 45  ATOMIC_OP_ALIAS(membar_write,_membar_pro
 STRONG_ALIAS(_membar_write,_membar_producer)  STRONG_ALIAS(_membar_write,_membar_producer)
   
 ENTRY_NP(_membar_sync)  ENTRY_NP(_membar_sync)
   #ifdef _ARM_ARCH_7
           dmb
   #else
         mcr     p15, 0, r0, c7, c10, 5  /* Data Memory Barrier */          mcr     p15, 0, r0, c7, c10, 5  /* Data Memory Barrier */
   #endif
         RET          RET
         END(_membar_sync)          END(_membar_sync)
 ATOMIC_OP_ALIAS(membar_sync,_membar_sync)  ATOMIC_OP_ALIAS(membar_sync,_membar_sync)

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>