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)
Tue, Jul 7, 2:09 AM
Unknown Object (File)
Mon, Jul 6, 11:42 PM
Unknown Object (File)
Mon, Jul 6, 11:41 PM
Unknown Object (File)
Sat, Jul 4, 6:57 PM
Unknown Object (File)
Jun 16 2026, 12:48 PM
Unknown Object (File)
Jun 16 2026, 11:31 AM
Unknown Object (File)
Jun 15 2026, 8:31 AM
Unknown Object (File)
May 27 2026, 4:37 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