RTEMS  5.0.0
Macros | Typedefs
cpustdatomic.h File Reference

Atomic Operations CPU API. More...

#include <rtems/score/basedefs.h>
#include <rtems/score/isrlevel.h>

Go to the source code of this file.

Macros

#define CPU_ATOMIC_ORDER_RELAXED   0
 
#define CPU_ATOMIC_ORDER_ACQUIRE   2
 
#define CPU_ATOMIC_ORDER_RELEASE   3
 
#define CPU_ATOMIC_ORDER_ACQ_REL   4
 
#define CPU_ATOMIC_ORDER_SEQ_CST   5
 
#define CPU_ATOMIC_INITIALIZER_UINT(value)   ( value )
 
#define CPU_ATOMIC_INITIALIZER_ULONG(value)   ( value )
 
#define CPU_ATOMIC_INITIALIZER_UINTPTR(value)   ( value )
 
#define CPU_ATOMIC_INITIALIZER_FLAG   false
 

Typedefs

typedef unsigned int CPU_atomic_Uint
 
typedef unsigned long CPU_atomic_Ulong
 
typedef uintptr_t CPU_atomic_Uintptr
 
typedef bool CPU_atomic_Flag
 
typedef int CPU_atomic_Order
 

Detailed Description

Atomic Operations CPU API.