Changeset ada559c in mainline for kernel/generic
- Timestamp:
- 2010-05-30T21:11:39Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a820bf7
- Parents:
- c8e99bb
- Location:
- kernel/generic
- Files:
-
- 3 edited
-
include/mm/as.h (modified) (1 diff)
-
include/mm/page.h (modified) (1 diff)
-
src/mm/as.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
rc8e99bb rada559c 147 147 void (* page_table_lock)(as_t *, bool); 148 148 void (* page_table_unlock)(as_t *, bool); 149 bool (* page_table_locked)(as_t *); 149 150 } as_operations_t; 150 151 -
kernel/generic/include/mm/page.h
rc8e99bb rada559c 52 52 extern void page_table_lock(as_t *, bool); 53 53 extern void page_table_unlock(as_t *, bool); 54 extern bool page_table_locked(as_t *); 54 55 extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int); 55 56 extern void page_mapping_remove(as_t *, uintptr_t); -
kernel/generic/src/mm/as.c
rc8e99bb rada559c 1293 1293 } 1294 1294 1295 /** Test whether page tables are locked. 1296 * 1297 * @param as Address space where the page tables belong. 1298 * 1299 * @return True if the page tables belonging to the address soace 1300 * are locked, otherwise false. 1301 */ 1302 bool page_table_locked(as_t *as) 1303 { 1304 ASSERT(as_operations); 1305 ASSERT(as_operations->page_table_locked); 1306 1307 return as_operations->page_table_locked(as); 1308 } 1309 1295 1310 1296 1311 /** Find address space area and lock it.
Note:
See TracChangeset
for help on using the changeset viewer.
