Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src




On Aug 31, 2006, at 8:24 PM, David Young wrote:


Module Name:    src
Committed By:   dyoung
Date:           Thu Aug 31 19:24:38 UTC 2006

Modified Files:
        src/distrib/sets/lists/comp: mi
        src/share/man/man3: Makefile
        src/sys/arch/i386/pci: geodereg.h geodewdg.c
        src/sys/dev/ic: atw.c atwreg.h atwvar.h max2820reg.h rtw.c rtwphy.c
            rtwphyio.c rtwreg.h sa2400reg.h si4136reg.h
        src/sys/lib/libkern: libkern.h
        src/sys/sys: cdefs.h
Added Files:
        src/share/man/man3: bits.3

Log Message:
Per discussion on tech-kern and tech-userlevel, move the bit-twiddling
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from
lib/libkern/libkern.h to sys/cdefs.h.  Add a __-prefix to SHIFTIN
and SHIFTOUT, and add a manual page for the bit-twiddling macros,
bits(3).

Make the __BIT and __BITS macros "widthless," as best I can, by
changing their type to uintmax_t from uint32_t.  XXX The manual
page lags this change by a bit.

Define __PRIxBIT and __PRIxBITS printf(3) format strings.

I think I missed the discussion, but thanks!

        -- Rui Paulo





Home | Main Index | Thread Index | Old Index