chore: general cleanup in code (removed unused includes and cosmetic stuff

This commit is contained in:
karina
2026-05-02 22:43:32 +04:00
parent b519e69fbd
commit 272b9c8998
10 changed files with 12 additions and 14 deletions
+3 -3
View File
@@ -54,9 +54,9 @@ void PMMInitialize(VMBootMemoryMap* bootMap) {
Size pagesToReserve = (regionSize + kVMPageSize - 1) / kVMPageSize;
for (Size p = 0; p < pagesToReserve; p++) {
Address pageAdress = regionBase + (p * kVMPageSize);
if (pageAdress >= sPMMRamBase && pageAdress < (sPMMRamBase + bootMap->totalRAM.size)) {
BitmapSet(sPMMBitmap, pageAdress);
Address pageAddress = regionBase + (p * kVMPageSize);
if (pageAddress >= sPMMRamBase && pageAddress < (sPMMRamBase + bootMap->totalRAM.size)) {
BitmapSet(sPMMBitmap, pageAddress);
}
}
}