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