CVS commit: src/lib/libc/atomic

2023-09-06 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Sep  6 20:17:43 UTC 2023

Modified Files:
src/lib/libc/atomic: atomic_ops.3

Log Message:
Node that aarch64 implements CAS.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/atomic/atomic_ops.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/atomic/atomic_ops.3
diff -u src/lib/libc/atomic/atomic_ops.3:1.8 src/lib/libc/atomic/atomic_ops.3:1.9
--- src/lib/libc/atomic/atomic_ops.3:1.8	Sat Jun 16 08:11:32 2018
+++ src/lib/libc/atomic/atomic_ops.3	Wed Sep  6 20:17:42 2023
@@ -1,10 +1,10 @@
-.\"	$NetBSD: atomic_ops.3,v 1.8 2018/06/16 08:11:32 dholland Exp $
+.\"	$NetBSD: atomic_ops.3,v 1.9 2023/09/06 20:17:42 ad Exp $
 .\"
-.\" Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2007, 2008, 2020, 2023 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Jason R. Thorpe.
+.\" by Jason R. Thorpe, and by Andrew Doran.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 7, 2018
+.Dd September 6, 2023
 .Dt ATOMIC_OPS 3
 .Os
 .Sh NAME
@@ -68,7 +68,7 @@ spinlock.
 The chosen method is not ordinarily distinguishable by or visible to users
 of the interface.
 The following architectures can be assumed to provide CAS in hardware:
-alpha, amd64, i386, powerpc, powerpc64, sparc64.
+aarch64, alpha, amd64, i386, powerpc, powerpc64, sparc64.
 .Ss Scope and Restrictions
 If hardware CAS is available, the atomic operations are globally atomic:
 operations within a memory region shared between processes are



CVS commit: src/lib/libc/atomic

2023-09-06 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Wed Sep  6 20:17:43 UTC 2023

Modified Files:
src/lib/libc/atomic: atomic_ops.3

Log Message:
Node that aarch64 implements CAS.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/atomic/atomic_ops.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/atomic

2022-02-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Feb 15 22:46:53 UTC 2022

Modified Files:
src/lib/libc/atomic: membar_ops.3

Log Message:
membar_ops(3): xref bus_dma, bus_space in SEE ALSO section too


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/atomic/membar_ops.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/atomic/membar_ops.3
diff -u src/lib/libc/atomic/membar_ops.3:1.8 src/lib/libc/atomic/membar_ops.3:1.9
--- src/lib/libc/atomic/membar_ops.3:1.8	Fri Oct  9 19:41:02 2020
+++ src/lib/libc/atomic/membar_ops.3	Tue Feb 15 22:46:53 2022
@@ -1,4 +1,4 @@
-.\"	$NetBSD: membar_ops.3,v 1.8 2020/10/09 19:41:02 uwe Exp $
+.\"	$NetBSD: membar_ops.3,v 1.9 2022/02/15 22:46:53 riastradh Exp $
 .\"
 .\" Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -358,7 +358,9 @@ if the load is in an atomic read/modify/
 .El
 .Sh SEE ALSO
 .Xr atomic_ops 3 ,
-.Xr atomic_loadstore 9
+.Xr atomic_loadstore 9 ,
+.Xr bus_dma 9 ,
+.Xr bus_space 9
 .Sh HISTORY
 The
 .Nm membar_ops



CVS commit: src/lib/libc/atomic

2022-02-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Feb 15 22:46:53 UTC 2022

Modified Files:
src/lib/libc/atomic: membar_ops.3

Log Message:
membar_ops(3): xref bus_dma, bus_space in SEE ALSO section too


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/atomic/membar_ops.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/atomic

2010-02-12 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Fri Feb 12 22:23:17 UTC 2010

Modified Files:
src/lib/libc/atomic: atomic_cas.3

Log Message:
With help from rmind@, describe the non-interlocked (*_ni) variants of
the standard atomic compare-and-swap operations.  Tell some caveats.

Manual page links, *_ni.3 -> atomic_cas.3 are coming up after a
successful 'build.sh distribution'.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/atomic/atomic_cas.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.