mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 07:18:22 +00:00
loader: map pfndb and cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user