Document __HAVE_UCAS_FULL and __HAVE_UCAS_MP.

This commit is contained in:
thorpej 2023-03-06 12:25:06 +00:00
parent 23edd9e279
commit 3608dbf34c
1 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: portfeatures.9,v 1.2 2023/03/06 01:03:45 wiz Exp $
.\" $NetBSD: portfeatures.9,v 1.3 2023/03/06 12:25:06 thorpej Exp $
.\"
.\" Copyright (c) The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -75,4 +75,18 @@ interlock.
.\" ---------
.It Dv __HAVE_SPIN_MUTEX_STUBS Pq Xr mutex 9
The port provides fast path enter and exit stubs for spin mutexes.
.
.\" ---------
.It Dv __HAVE_UCAS_FULL Pq Xr ucas 9
The port provides a full implementation of the low-level primitives
required for atomic compare-and-swap operations to user-space addresses.
.
.\" ---------
.It Dv __HAVE_UCAS_MP Pq Xr ucas 9
The port does not provide a full implementation of the low-level
primitives required for atomic compare-and-swap operations to user-space
addresses, but does provide an implementation of those primitives that
can be used if
.Pq and only if
the system has more than one processor.
.El