Subject: CVS commit: [thorpej-atomic] src/common/lib/libc/arch/arm/atomic
To: None <source-changes@NetBSD.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 08/26/2007 05:57:05
Module Name: src
Committed By: matt
Date: Sun Aug 26 05:57:05 UTC 2007
Modified Files:
src/common/lib/libc/arch/arm/atomic [thorpej-atomic]: Makefile.inc
atomic_cas_32.S
Added Files:
src/common/lib/libc/arch/arm/atomic [thorpej-atomic]: atomic_add_32.S
atomic_and_32.S atomic_dec_32.S atomic_inc_32.S atomic_or_32.S
atomic_swap.S membar_ops.S
Log Message:
Add armv6 variants of atomic ops which use ldrex/strex.
Add atomic_swap (all arm architectures) which uses swp and swpb.
Add membar_ops which uses armv6 data {sync, memory} barrier.
XXX let thorpej figure out the Makefile magic.
To generate a diff of this commit:
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
src/common/lib/libc/arch/arm/atomic/Makefile.inc
cvs rdiff -r0 -r1.1.2.1 src/common/lib/libc/arch/arm/atomic/atomic_add_32.S \
src/common/lib/libc/arch/arm/atomic/atomic_and_32.S \
src/common/lib/libc/arch/arm/atomic/atomic_dec_32.S \
src/common/lib/libc/arch/arm/atomic/atomic_inc_32.S \
src/common/lib/libc/arch/arm/atomic/atomic_or_32.S \
src/common/lib/libc/arch/arm/atomic/atomic_swap.S \
src/common/lib/libc/arch/arm/atomic/membar_ops.S
cvs rdiff -r1.1.2.2 -r1.1.2.3 \
src/common/lib/libc/arch/arm/atomic/atomic_cas_32.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.