>= in reserve method to catch that last chunk of frames
This commit is contained in:
parent
eb419802e2
commit
a212d6f9d0
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ FrameAllocator::reserveRange(u32 start,
|
|||
}
|
||||
|
||||
// Fill in entries in `pagesPerBitmap` sized chunks.
|
||||
while ((endPage - page) > pagesPerBitmap) {
|
||||
while ((endPage - page) >= pagesPerBitmap) {
|
||||
mBitmap[bitmapIndex++].fill();
|
||||
page += pagesPerBitmap;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue