feat(mm): add allocators

This commit is contained in:
Loïc Grégoire
2026-04-10 18:04:34 -04:00
parent c6fa2a8c48
commit 748854577e
9 changed files with 1252 additions and 4 deletions
+3 -1
View File
@@ -13,7 +13,9 @@ pub fn virt_to_phys(vaddr: b.VAddr) usize {
return vaddr - 0xffff800000000000;
}
pub const pfndb_base = 0xffffea0000000000;
pub const hhdm_base = 0xffff800000000000;
pub const kernel_heap_base = 0xffffe00000000000;
pub const pfndb_base = 0xffffff0000000000;
pub const PagingImpl = struct {
const Self = @This();