mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
fix(kernel/memory): correct loop control in ReservePages function
This commit is contained in:
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user