mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 15:28:21 +00:00
mm: rework page frame allocator
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user