mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 06:48:22 +00:00
feat(mm/phys): implement alloc and free
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ const AllocatingSource = struct {
|
||||
flags: mm.MapFlags,
|
||||
|
||||
pub fn next(self: *const AllocatingSource, _: b.VAddr) MapItem {
|
||||
const pa = mi.phys.alloc_page();
|
||||
const pa = mi.phys.alloc();
|
||||
return .{
|
||||
.pa = pa,
|
||||
.len = mm.page_size,
|
||||
|
||||
Reference in New Issue
Block a user