You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// An additional frame was needed for the mapping process, but the frame allocator
/// returned `None`.
FrameAllocationFailed,
/// An upper level page table entry has the `HUGE_PAGE` flag set, which means that the
/// given page is part of an already mapped huge page.
ParentEntryHugePage,
/// The given page is already mapped to a physical frame.
PageAlreadyMapped,
}
should probably be
pubenumMapToError<S:PageSize>{/// An additional frame was needed for the mapping process, but the frame allocator/// returned `None`.FrameAllocationFailed,/// An upper level page table entry has the `HUGE_PAGE` flag set, which means that the/// given page is part of an already mapped huge page.ParentEntryHugePage,/// The given page is already mapped to a physical frame.PageAlreadyMapped(UnusedPhysFrame<S>),}
and methods returning PageAlreadyMapped should give back the frame.
The text was updated successfully, but these errors were encountered:
x86_64/src/structures/paging/mapper/mod.rs
Lines 159 to 168 in c94759c
should probably be
and methods returning PageAlreadyMapped should give back the frame.
The text was updated successfully, but these errors were encountered: