Skip to content

Commit ac4d400

Browse files
committed
Improve docs for Mapper::identity_map
1 parent 223ae47 commit ac4d400

File tree

1 file changed

+4
-0
lines changed
  • src/structures/paging/mapper

1 file changed

+4
-0
lines changed

src/structures/paging/mapper/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ pub trait Mapper<S: PageSize> {
178178

179179
/// Maps the given frame to the virtual page with the same address.
180180
///
181+
/// This function might need additional physical frames to create new page
182+
/// tables. These frames are allocated from the `frame_allocator` argument.
183+
/// At most three frames are required.
184+
///
181185
/// ## Safety
182186
///
183187
/// This is a convencience function that invokes [`map_to`] internally, so

0 commit comments

Comments
 (0)