From 3608dbf34ce22fe7b3f98b8713be6e2f65a17ca0 Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 6 Mar 2023 12:25:06 +0000 Subject: [PATCH] Document __HAVE_UCAS_FULL and __HAVE_UCAS_MP. --- share/man/man9/portfeatures.9 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/share/man/man9/portfeatures.9 b/share/man/man9/portfeatures.9 index 6f4f11f4cb4a..d01d310d067e 100644 --- a/share/man/man9/portfeatures.9 +++ b/share/man/man9/portfeatures.9 @@ -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