Bitmask updates
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 23 Feb 2011 22:35:00 +0000 (14:35 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:58 +0000 (17:35 -0700)
commite37ad11a47e6e659f862eac7fda9258f22d16540
tree57cb996bac015a4a2017fa6c74f3650234f686aa
parent36173f4ab38e2866e8e6485b90bf2f3d1ef58616
Bitmask updates

Extracted some arch-indep code into inc/bitmask.h.  Adds
BITMASK_FOREACH_SET(), which will execute a function passing it the
number of each set bit in the map.
21 files changed:
kern/arch/i686/bitmask.h
kern/arch/i686/colored_caches.c
kern/arch/i686/smp.c
kern/arch/i686/smp_boot.c
kern/arch/sparc/bitmask.h
kern/include/bitmask.h [new file with mode: 0644]
kern/include/vfs.h
kern/src/atomic.c
kern/src/colored_caches.c
kern/src/env.c
kern/src/event.c
kern/src/ext2fs.c
kern/src/init.c
kern/src/page_alloc.c
kern/src/process.c
kern/src/syscall.c
kern/src/testing.c
user/parlib/event.c
user/parlib/include/bitmask.h [new file with mode: 0644]
user/parlib/include/i686/bitmask.h
user/parlib/include/sparc/bitmask.h