Page MenuHomeFreeBSD

bitset: rename confusing macro NAND to ANDNOT
ClosedPublic

Authored by rlibby on Dec 13 2019, 12:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 12:35 AM
Unknown Object (File)
Sat, Oct 4, 8:18 PM
Unknown Object (File)
Sat, Sep 20, 3:12 PM
Unknown Object (File)
Fri, Sep 19, 5:52 PM
Unknown Object (File)
Sep 10 2025, 3:28 PM
Unknown Object (File)
Sep 2 2025, 7:55 AM
Unknown Object (File)
Sep 1 2025, 7:05 AM
Unknown Object (File)
Aug 28 2025, 6:31 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