fix(kernel/memory): correct loop control in ReservePages function

This commit is contained in:
2025-04-07 07:25:11 +00:00
parent d8cd27196d
commit 03147b532c
2 changed files with 3 additions and 2 deletions

View File

@ -264,7 +264,7 @@ namespace Memory
uintptr_t Index = ((uintptr_t)Address + (t * PAGE_SIZE)) / PAGE_SIZE;
if (unlikely(PageBitmap[Index] == true))
return;
continue;
if (PageBitmap.Set(Index, true))
{