Changes in kernel/generic/src/mm/page.c [235e6c7:97bdb4a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/page.c
r235e6c7 r97bdb4a 108 108 * using flags. Allocate and setup any missing page tables. 109 109 * 110 * @param as Address space to w hich page belongs.110 * @param as Address space to wich page belongs. 111 111 * @param page Virtual address of the page to be mapped. 112 112 * @param frame Physical address of memory frame to which the mapping is … … 135 135 * this call visible. 136 136 * 137 * @param as Address space to w hich page belongs.137 * @param as Address space to wich page belongs. 138 138 * @param page Virtual address of the page to be demapped. 139 139 * … … 152 152 } 153 153 154 /** Find mapping for virtual page .154 /** Find mapping for virtual page 155 155 * 156 * @param as Address space to which page belongs. 157 * @param page Virtual page. 158 * @param nolock True if the page tables need not be locked. 156 * Find mapping for virtual page. 157 * 158 * @param as Address space to wich page belongs. 159 * @param page Virtual page. 159 160 * 160 161 * @return NULL if there is no such mapping; requested mapping … … 162 163 * 163 164 */ 164 NO_TRACE pte_t *page_mapping_find(as_t *as, uintptr_t page , bool nolock)165 NO_TRACE pte_t *page_mapping_find(as_t *as, uintptr_t page) 165 166 { 166 ASSERT( nolock ||page_table_locked(as));167 ASSERT(page_table_locked(as)); 167 168 168 169 ASSERT(page_mapping_operations); 169 170 ASSERT(page_mapping_operations->mapping_find); 170 171 171 return page_mapping_operations->mapping_find(as, page , nolock);172 return page_mapping_operations->mapping_find(as, page); 172 173 } 173 174
Note:
See TracChangeset
for help on using the changeset viewer.