summaryrefslogtreecommitdiff
path: root/kern/bitmap.c
AgeCommit message (Collapse)Author
2013-05-15kern/bitmap: move helper functions to bitmap_i.hRichard Braun
Although the dinstinction between those and the public interface was already easy to make, it's a bit more consistent and elegant this way.
2013-03-09kern/bitmap: fix complement computationRichard Braun
The complement must take into account the total number of bits.
2013-03-08kern/bitmap: add const keywords where appropriateRichard Braun
2013-03-08kern/bitmap: remove volatile keywordsRichard Braun
Using this qualifier for such a generic data structure is inefficient. It was a left over from the initial implementation that was meant for concurrent accesses.
2013-03-08kern/bitmap: new functionsRichard Braun
Augment the interface with functions to search and iterate over zero bits.