sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
arm_acle.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define __dmb(i)   __builtin_arm_dmb(i)
 
#define __dsb(i)   __builtin_arm_dsb(i)
 
#define __isb(i)   __builtin_arm_isb(i)
 
#define __pld(addr)   __pldx(0, 0, 0, addr)
 
#define __pldx(access_kind, cache_level, retention_policy, addr)   __builtin_arm_prefetch(addr, access_kind, cache_level, retention_policy, 1)
 
#define __pli(addr)   __plix(0, 0, addr)
 
#define __plix(cache_level, retention_policy, addr)   __builtin_arm_prefetch(addr, 0, cache_level, retention_policy, 0)
 
#define __arm_rsr(sysreg)   __builtin_arm_rsr(sysreg)
 
#define __arm_rsr64(sysreg)   __builtin_arm_rsr64(sysreg)
 
#define __arm_rsrp(sysreg)   __builtin_arm_rsrp(sysreg)
 
#define __arm_wsr(sysreg, v)   __builtin_arm_wsr(sysreg, v)
 
#define __arm_wsr64(sysreg, v)   __builtin_arm_wsr64(sysreg, v)
 
#define __arm_wsrp(sysreg, v)   __builtin_arm_wsrp(sysreg, v)
 

Functions

 while (__builtin_arm_strex(x, p))
 
 if (y==0) return x
 
 return (x >> y)|(x<< (32-y))
 

Variables

static __inline__ uint32_t
volatile uint32_t * 
p
 
do v = __builtin_arm_ldrex(p)
 
static __inline__ uint32_t uint32_t y
 

Macro Definition Documentation

#define __arm_rsr (   sysreg)    __builtin_arm_rsr(sysreg)
#define __arm_rsr64 (   sysreg)    __builtin_arm_rsr64(sysreg)
#define __arm_rsrp (   sysreg)    __builtin_arm_rsrp(sysreg)
#define __arm_wsr (   sysreg,
  v 
)    __builtin_arm_wsr(sysreg, v)
#define __arm_wsr64 (   sysreg,
  v 
)    __builtin_arm_wsr64(sysreg, v)
#define __arm_wsrp (   sysreg,
  v 
)    __builtin_arm_wsrp(sysreg, v)
#define __dmb (   i)    __builtin_arm_dmb(i)
#define __dsb (   i)    __builtin_arm_dsb(i)
#define __isb (   i)    __builtin_arm_isb(i)
#define __pld (   addr)    __pldx(0, 0, 0, addr)
#define __pldx (   access_kind,
  cache_level,
  retention_policy,
  addr 
)    __builtin_arm_prefetch(addr, access_kind, cache_level, retention_policy, 1)
#define __pli (   addr)    __plix(0, 0, addr)
#define __plix (   cache_level,
  retention_policy,
  addr 
)    __builtin_arm_prefetch(addr, 0, cache_level, retention_policy, 0)

Function Documentation

if ( y  = =0)
return ( x >>  y)
while ( __builtin_arm_strex(x, p )

Variable Documentation

__inline__ uint32_t volatile uint32_t* p
Initial value:
{
uint32_t v
do v
Definition: arm_acle.h:77
return v = __builtin_arm_ldrex(p)
static __inline__ unsigned long uint32_t y
Initial value:
{
y %= 32
static __inline__ uint32_t uint32_t y
Definition: arm_acle.h:113