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
+1 -1
View File
@@ -159,7 +159,7 @@ void VMMInitialize(VMBootMemoryMap* bootMap, Bootinfo* info) {
Size kernelSize = ((Address)_kernelEnd - (Address)_kernelStart) + pmmBitmapSize;
kernelSize = (kernelSize + kVMPageSize - 1) & ~(kVMPageSize - 1);
Address kernelPhysStart = 0x40100000; // TODO: hardcode is awful
Address kernelPhysStart = kKernelPhysBase;
for (Address offset = 0; offset < kernelSize; offset += kVMPageSize) {
Address phys = kernelPhysStart + offset;