Age | Commit message (Collapse) | Author |
|
|
|
|
|
Macros with lower case names must have a function-like interface.
|
|
|
|
This turns limits.h into a standard header.
|
|
|
|
Stick to a sequentially consistent model for most atomic operations as it
matches the semantics of the existing code. Each call site will have to be
reevaluated in order to switch to more relaxed accesses where possible.
|
|
Instead of mixing standard headers and internal redefinitions of standard
types, completely rely on the compiler for what is guaranteed for a free
standing environment. This results in the removal of kern/stddef.h and
kern/stdint.h. The kern/types.h header is reintroduced for the different
(and saner) purpose of defining types not specified in standard C,
namely ssize_t for now.
|
|
This change was done using astyle, with a few manual editing here and
there.
|
|
|
|
Make spin locks and mutexes encode their state on an int rather than
a long.
|
|
Although the dinstinction between those and the public interface was already
easy to make, it's a bit more consistent and elegant this way.
|
|
|
|
|
|
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.
|
|
Augment the interface with functions to search and iterate over zero bits.
|
|
The bitmap_init function is renamed to bitmap_zero for consistency.
|
|
|
|
This module provides arbitrary-length bit arrays.
|