22# define PPC405_ERR77_SYNC " sync\n"
24# define PPC405_ERR77_SYNC
29#if defined(USE_ATOMICS_GENERIC64)
39 asm volatile (
" sync\n"
52 asm volatile (
" sync\n"
63 asm volatile (
" sync\n"
71 :
"=&r" (prev),
"=&r" (
temp),
"=m" (*mem)
82 asm volatile (
" sync\n"
99 asm volatile (
" sync\n"
108 :
"=&b" (prev),
"=m" (*
mem)
119 asm volatile (
" sync\n"
127 :
"=&b" (prev),
"=m" (*
mem)
139 asm volatile (
" sync\n"
160 asm volatile (
" sync\n"
177#if APR_SIZEOF_VOIDP == 4
178 asm volatile (
" sync\n"
191#elif APR_SIZEOF_VOIDP == 8
192 asm volatile (
" sync\n"
206#error APR_SIZEOF_VOIDP value not supported
214#if APR_SIZEOF_VOIDP == 4
215 asm volatile (
" sync\n"
225#elif APR_SIZEOF_VOIDP == 8
226 asm volatile (
" sync\n"
237#error APR_SIZEOF_VOIDP value not supported
apr_status_t apr__atomic_generic64_init(apr_pool_t *p)
apr_uint32_t apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val)
void apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val)
apr_uint32_t apr_atomic_inc32(volatile apr_uint32_t *mem)
apr_uint32_t apr_atomic_xchg32(volatile apr_uint32_t *mem, apr_uint32_t val)
int apr_atomic_dec32(volatile apr_uint32_t *mem)
apr_status_t apr_atomic_init(apr_pool_t *p)
void apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val)
apr_uint32_t apr_atomic_cas32(volatile apr_uint32_t *mem, apr_uint32_t swap, apr_uint32_t cmp)
apr_uint32_t apr_atomic_read32(volatile apr_uint32_t *mem)
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
apr_uint32_t apr_uint32_t cmp