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 Mar 6, 2020
1 parent 223ae47 commit ac4d400
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 @@ -178,6 +178,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 ac4d400

Please sign in to comment.