File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ impl UsedLevel4Entries {
9898 used
9999 }
100100
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.
102102 ///
103103 /// `size` can be a `u64` or `usize`.
104104 fn mark_range_as_used < S > ( & mut self , address : u64 , size : S )
@@ -134,7 +134,7 @@ impl UsedLevel4Entries {
134134 }
135135 }
136136
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
138138 /// enabled, this will return a random available entry.
139139 ///
140140 /// Since this method marks each returned index as used, it can be used multiple times
@@ -167,7 +167,7 @@ impl UsedLevel4Entries {
167167
168168 /// Returns a virtual address in an unused level 4 entry and marks it as used.
169169 ///
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
171171 /// too.
172172 pub fn get_free_address ( & mut self , size : u64 , alignment : u64 ) -> VirtAddr {
173173 assert ! ( alignment. is_power_of_two( ) ) ;
You can’t perform that action at this time.
0 commit comments