Macros | Functions
oro_system.h File Reference
#include "oro_atomic.h"
Include dependency graph for oro_system.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __HAVE_ARCH_CMPXCHG   1
 
#define oro_cmpxchg(ptr, o, n)
 

Functions

static __inline__ unsigned long __cmpxchg_u32 (volatile unsigned int *p, unsigned long old, unsigned long newp)
 
static __inline__ unsigned long __oro_cmpxchg (volatile void *ptr, unsigned long old, unsigned long newp, unsigned int size)
 

Macro Definition Documentation

#define __HAVE_ARCH_CMPXCHG   1

Definition at line 46 of file oro_system.h.

#define oro_cmpxchg (   ptr,
  o,
 
)
Value:
({ \
__typeof__(*(ptr)) _o_ = (o); \
__typeof__(*(ptr)) _n_ = (n); \
(__typeof__(*(ptr))) __oro_cmpxchg((ptr), (unsigned long)_o_, \
(unsigned long)_n_, sizeof(*(ptr))); \
})
static __inline__ unsigned long __oro_cmpxchg(volatile void *ptr, unsigned long old, unsigned long newp, unsigned int size)
Definition: oro_system.h:85

Definition at line 94 of file oro_system.h.

Function Documentation

static __inline__ unsigned long __cmpxchg_u32 ( volatile unsigned int *  p,
unsigned long  old,
unsigned long  newp 
)
static

Definition at line 49 of file oro_system.h.

static __inline__ unsigned long __oro_cmpxchg ( volatile void *  ptr,
unsigned long  old,
unsigned long  newp,
unsigned int  size 
)
static

Definition at line 85 of file oro_system.h.



youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:26