feat(mm): initial mm work

This commit is contained in:
Loïc Grégoire
2026-04-03 17:01:26 -04:00
parent c7c145f4e3
commit 5b60f08db5
11 changed files with 709 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
const config = @import("config");
pub const phys = @import("phys.zig");
pub const radix_pmap = @import("radix_pmap.zig");
pub const pmap = @import("pmap.zig");
pub const init = @import("init.zig");
pub const PMap = pmap.PMap;
pub const impl = if (@hasDecl(config, "CONFIG_ARCH_AMD64"))
@import("amd64/impl.zig")
else
@compileError("unsupported architecture");
pub var kernel_pmap: PMap = undefined;