Page MenuHomeFreeBSD

bitset: rename confusing macro NAND to ANDNOT
ClosedPublic

Authored by rlibby on Dec 13 2019, 12:48 AM.
Tags
None
Referenced Files
F132993555: D22791.id65585.diff
Tue, Oct 21, 9:49 PM
F132985225: D22791.diff
Tue, Oct 21, 8:14 PM
Unknown Object (File)
Mon, Oct 20, 2:43 AM
Unknown Object (File)
Mon, Oct 13, 12:35 AM
Unknown Object (File)
Sat, Oct 4, 8:18 PM
Unknown Object (File)
Sep 20 2025, 3:12 PM
Unknown Object (File)
Sep 19 2025, 5:52 PM
Unknown Object (File)
Sep 10 2025, 3:28 PM
Subscribers

Details

Summary

s/BIT_NAND/BIT_ANDNOT/, and for CPU and DOMAINSET too. The actual
implementation is "and not" (or "but not"), i.e. A but not B.
Fortunately this does appear to be what all existing callers want.

Don't supply a NAND (not (A and B)) operation a this time.

Test Plan

make buildkernel

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable