summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/include
Commit message (Collapse)AuthorAgeFilesLines
* ARM architecture reference manuals for ARMv6 & ARMv7 state that the use of ↵vinay harugop2009-09-091-0/+7
| | | | | | | | | | | '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.
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-173-1/+170
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-2111-0/+724