File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ impl UsedLevel4Entries {
95
95
used
96
96
}
97
97
98
- /// Mark all p4 entries in the range `[address..address+size)` as used.
98
+ /// Marks all p4 entries in the range `[address..address+size)` as used.
99
99
///
100
100
/// `size` can be a `u64` or `usize`.
101
101
fn mark_range_as_used < S > ( & mut self , address : u64 , size : S )
@@ -131,7 +131,7 @@ impl UsedLevel4Entries {
131
131
}
132
132
}
133
133
134
- /// Returns a unused level 4 entry and marks it as used. If `CONFIG.aslr` is
134
+ /// Returns an unused level 4 entry and marks it as used. If `CONFIG.aslr` is
135
135
/// enabled, this will return a random available entry.
136
136
///
137
137
/// Since this method marks each returned index as used, it can be used multiple times
@@ -164,7 +164,7 @@ impl UsedLevel4Entries {
164
164
165
165
/// Returns a virtual address in an unused level 4 entry and marks it as used.
166
166
///
167
- /// This functions call [`get_free_entry`] internally, so all of its docs applies here
167
+ /// This function calls [`get_free_entry`] internally, so all of its docs applies here
168
168
/// too.
169
169
pub fn get_free_address ( & mut self , size : u64 , alignment : u64 ) -> VirtAddr {
170
170
assert ! ( alignment. is_power_of_two( ) ) ;
You can’t perform that action at this time.
0 commit comments