Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
barrier.h File Reference
#include <asm/outercache.h>

Go to the source code of this file.

Macros

#define nop()   __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t");
 
#define isb()   __asm__ __volatile__ ("" : : : "memory")
 
#define dsb()
 
#define dmb()   __asm__ __volatile__ ("" : : : "memory")
 
#define mb()   barrier()
 
#define rmb()   barrier()
 
#define wmb()   barrier()
 
#define smp_mb()   barrier()
 
#define smp_rmb()   barrier()
 
#define smp_wmb()   barrier()
 
#define read_barrier_depends()   do { } while(0)
 
#define smp_read_barrier_depends()   do { } while(0)
 
#define set_mb(var, value)   do { var = value; smp_mb(); } while (0)
 

Macro Definition Documentation

#define dmb ( )    __asm__ __volatile__ ("" : : : "memory")

Definition at line 37 of file barrier.h.

#define dsb ( )
Value:
__asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
: : "r" (0) : "memory")

Definition at line 35 of file barrier.h.

#define isb ( )    __asm__ __volatile__ ("" : : : "memory")

Definition at line 34 of file barrier.h.

#define mb (   void)    barrier()

Definition at line 47 of file barrier.h.

#define nop ( )    __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t");

Definition at line 7 of file barrier.h.

#define read_barrier_depends ( )    do { } while(0)

Definition at line 62 of file barrier.h.

#define rmb ( )    barrier()

Definition at line 48 of file barrier.h.

#define set_mb (   var,
  value 
)    do { var = value; smp_mb(); } while (0)

Definition at line 65 of file barrier.h.

#define smp_mb ( )    barrier()

Definition at line 53 of file barrier.h.

#define smp_read_barrier_depends ( )    do { } while(0)

Definition at line 63 of file barrier.h.

#define smp_rmb ( )    barrier()

Definition at line 54 of file barrier.h.

#define smp_wmb ( )    barrier()

Definition at line 55 of file barrier.h.

#define wmb ( )    barrier()

Definition at line 49 of file barrier.h.