bitmap: Add first cut at a bitmap module
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 22 Aug 2013 12:39:02 +0000 (22:39 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 22 Aug 2013 12:39:02 +0000 (22:39 +1000)
commitba88f53bc56206c7eccac7eac20447e19c34c024
tree47ba82fe3a788f1ecd6f177cf486ad6411ae4e90
parent5628cd2c21655a84dfcf5cc693c8c0d5701fe75d
bitmap: Add first cut at a bitmap module

This adds a module for manipulating bitmaps, based on the API from the
Linux kernel's bitmap.h.  So far it's missing the trickier bits, but is
a little more flexible, allowing bitmaps that don't have to be contained
in an integer number of unsigned longs.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/bitmap/LICENSE [new symlink]
ccan/bitmap/_info [new file with mode: 0644]
ccan/bitmap/bitmap.h [new file with mode: 0644]
ccan/bitmap/test/run.c [new file with mode: 0644]