Changes in kernel/genarch/src/mm/page_pt.c [235e6c7:fdaad75d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/page_pt.c
r235e6c7 rfdaad75d 48 48 static void pt_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int); 49 49 static void pt_mapping_remove(as_t *, uintptr_t); 50 static pte_t *pt_mapping_find(as_t *, uintptr_t , bool);50 static pte_t *pt_mapping_find(as_t *, uintptr_t); 51 51 52 52 page_mapping_operations_t pt_mapping_operations = { … … 238 238 /** Find mapping for virtual page in hierarchical page tables. 239 239 * 240 * @param as Address space to which page belongs. 241 * @param page Virtual page. 242 * @param nolock True if the page tables need not be locked. 240 * Find mapping for virtual page. 241 * 242 * @param as Address space to which page belongs. 243 * @param page Virtual page. 243 244 * 244 245 * @return NULL if there is no such mapping; entry from PTL3 describing … … 246 247 * 247 248 */ 248 pte_t *pt_mapping_find(as_t *as, uintptr_t page , bool nolock)249 pte_t *pt_mapping_find(as_t *as, uintptr_t page) 249 250 { 250 ASSERT( nolock ||page_table_locked(as));251 ASSERT(page_table_locked(as)); 251 252 252 253 pte_t *ptl0 = (pte_t *) PA2KA((uintptr_t) as->genarch.page_table);
Note:
See TracChangeset
for help on using the changeset viewer.