1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
David Malone fc39509245 Cleanup of bitstring.h:
1) Add FreeBSD: tag.
2) Add parenthesis around macro args.
3) Add parenthesis around macros which are expressions.
4) Add do { ... } while (0) around macros which are compound statements.
5) Sync bitstr_size and bit_alloc with neater versions from NetBSD.
6) Fix bit_ffs and bit_ffc so that they don't search off the end of the
	bitstirng.
7) Try to avoid rightshifting signed ints.

I didn't take NetBSD's version directly as the macros are significantly
slower for long bitstrings. Bruce reviewed a previous version of
this patch.

PR:		21204
Submitted by:	bob@immure.com
Reviewed by:	bde
2000-10-09 12:34:51 +00:00
..
alpha Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
amd64 Unremoved used include of <machine/ipl.h>. Removing it in rev.1.95 2000-10-09 05:39:03 +00:00
boot Now I see the error of my ways. 2000-10-09 11:29:40 +00:00
cam - Heavyweight interrupt threads on the alpha for device I/O interrupts. 2000-10-05 23:09:57 +00:00
coda Forward-declare struct mbuf so that this file is less self-insufficient 2000-10-05 11:58:22 +00:00
compat Initiate deorbit burn sequence for <machine/console.h>. 2000-10-08 21:34:00 +00:00
compile
conf A couple of negative options was not commented out in NOTES/LINT. This 2000-10-09 07:29:41 +00:00
contrib/dev remove unused #include. 2000-10-07 19:38:31 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
fs return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
i4b - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
i386 Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
ia64 Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
isa Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
isofs/cd9660 Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
kern Do not call lockdestroy() for v_vnlock, which may point to a lock in a 2000-10-06 08:04:48 +00:00
libkern Next round of fixes to the ia64 code. This includes simulated clock and 2000-10-04 17:53:03 +00:00
miscfs return correct type for process directory entries, DT_DIR not DT_REG 2000-10-05 23:19:51 +00:00
modules Don't install manpages. 2000-10-08 16:56:04 +00:00
msdosfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
net make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsd 2000-10-04 23:16:29 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph More complete fix for multi-link sequence number handling bugs. 2000-10-06 23:42:02 +00:00
netinet Remove headers not needed. 2000-10-07 23:15:17 +00:00
netinet6 make pr_type type meet with struct protosw. sync with kame 2000-10-03 13:39:49 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
netns
nfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nfsclient Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nfsserver Major update to the way synchronization is done in the kernel. Highlights 2000-09-07 01:33:02 +00:00
ntfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
nwfs Convert lockmgr locks from using simple locks to using mutexes. 2000-10-04 01:29:17 +00:00
pc98 Fixed include files to use sys/{cons,fb,kb}io.h instead of 2000-10-09 11:07:18 +00:00
pccard fix some minor problem in PIOCSRESOURCE ioctl. 2000-10-01 12:36:14 +00:00
pci Validate the PCI bus number that we fetch from our parent, since there's no 2000-10-09 00:43:45 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc - Change fast interrupts on x86 to push a full interrupt frame and to 2000-10-06 02:20:21 +00:00
rpc
sys Cleanup of bitstring.h: 2000-10-09 12:34:51 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs o Move initialization of ump from mp to the top of the function so that 2000-10-06 15:31:28 +00:00
vm If a process is over its resource limit for datasize, still allow 2000-10-06 13:03:50 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00