loader: map pfndb and cleanup

This commit is contained in:
Loïc Grégoire
2026-07-18 14:06:36 -04:00
parent 3c72101228
commit 96d2bee857
12 changed files with 159 additions and 187 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ pub fn virt_to_phys(vaddr: r.VAddr) usize {
}
pub const hhdm_base = 0xffff800000000000;
pub const kernel_heap_base = 0xffffe00000000000;
pub const pfndb_base = 0xffffff0000000000;
pub const kernel_heap_base = 0xffffc00000000000;
pub const pfndb_base = 0xffffd00000000000;
pub const levels = [_]mi.PMapLevel{
.{ .shift = 12, .mask = 0x1ff, .leaf = true }, // 4K