mm: rework page frame allocator

This commit is contained in:
Loïc Grégoire
2026-06-27 11:35:46 -04:00
parent 861418fb50
commit c10f5a6984
6 changed files with 65 additions and 182 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ pub const PMap = struct {
/// Unmap a contiguous range of virtual pages.
/// Returns a list threaded through PFNs of the unmapped physical pages if any.
pub fn unmap(self: *Self, va: r.VAddr, size: usize) ?mm.Pfn {
pub fn unmap(self: *Self, va: r.VAddr, size: usize) ?mi.PfnList {
return self.impl.unmap(va, size);
}