HomeFreeBSD

MFC r366523:

Description

MFC r366523:

LinuxKPI: add a bitfield.h implementation.

This code was iteratively implemented during the work on various WiFi
drivers -- from individual functions to a macro-created implementations
for the various bit sized needed (and then extended to more for
comepleteness). Some of the bit combinations do not seem to make sense
so are left out.

The __bf_shf(x) was obtained from D26681 by manu.

Details

Provenance
bzAuthored on
Parents
rS367379: poll/select: change selfd_zone into a malloc type
Branches
Unknown
Tags
Unknown