Skip to content

Commit

Permalink
Improve docs for Mapper::identity_map
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Oct 18, 2020
1 parent aa85dbb commit 9c7ff09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/structures/paging/mapper/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ pub trait Mapper<S: PageSize> {

/// Maps the given frame to the virtual page with the same address.
///
/// This function might need additional physical frames to create new page
/// tables. These frames are allocated from the `frame_allocator` argument.
/// At most three frames are required.
///
/// ## Safety
///
/// This is a convencience function that invokes [`map_to`] internally, so
Expand Down

0 comments on commit 9c7ff09

Please sign in to comment.