Project

General

Profile

« Previous | Next » 

Revision 38c5f273

Added by tenderlovemaking (Aaron Patterson) about 4 years ago

Support an arbitrary number of header bits (< BITS_BITLENGTH)

NUM_IN_PAGE(page->start) will sometimes return a 0 or a 1 depending on
how the alignment of the 40 byte slots work out. This commit uses the
NUM_IN_PAGE function to shift the bitmap down on the first bitmap plane.
Iterating on the first bitmap plane is "special", but this commit allows
us to align object addresses on something besides 40 bytes, and also
eliminates the need to fill guard bits.