bionic/libc/arch-arm/include/machine
vinay harugop 76ec6891e2 ARM architecture reference manuals for ARMv6 & ARMv7 state that the use of 'swp' instruction is deprecated
ARMv6 onwards. These architectures provide the load-linked, store-conditional pair of ldrex/strex whose use
is recommended in place of 'swp'. Also, the description of the 'swp' instruction in the ARMv6 reference
manual states that the swap operation does not include any memory barrier guarantees.This fix attempts to
address these issues by providing an atomic swap implementation using ldrex/strex under _ARM_HAVE_LDREX_STREX
macro.  This Fix is verified on ST Ericsson's U8500 platform and Submitted on behalf of a third-party:
Surinder-pal SINGH from STMicroelectronics.
2009-09-09 21:01:46 +05:30
..
_types.h Code drop from //branches/cupcake/...@124589 2008-12-17 18:03:48 -08:00
asm.h Initial Contribution 2008-10-21 07:00:00 -07:00
cdefs.h Initial Contribution 2008-10-21 07:00:00 -07:00
cpu-features.h ARM architecture reference manuals for ARMv6 & ARMv7 state that the use of 'swp' instruction is deprecated 2009-09-09 21:01:46 +05:30
exec.h Initial Contribution 2008-10-21 07:00:00 -07:00
ieee.h Initial Contribution 2008-10-21 07:00:00 -07:00
internal_types.h Initial Contribution 2008-10-21 07:00:00 -07:00
kernel.h Initial Contribution 2008-10-21 07:00:00 -07:00
limits.h Initial Contribution 2008-10-21 07:00:00 -07:00
setjmp.h Initial Contribution 2008-10-21 07:00:00 -07:00