Changeset ada559c in mainline for kernel/genarch/src/mm/as_pt.c
- Timestamp:
- 2010-05-30T21:11:39Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a820bf7
- Parents:
- c8e99bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/as_pt.c
rc8e99bb rada559c 52 52 static void pt_lock(as_t *, bool); 53 53 static void pt_unlock(as_t *, bool); 54 static bool pt_locked(as_t *); 54 55 55 56 as_operations_t as_pt_operations = { … … 57 58 .page_table_destroy = ptl0_destroy, 58 59 .page_table_lock = pt_lock, 59 .page_table_unlock = pt_unlock 60 .page_table_unlock = pt_unlock, 61 .page_table_locked = pt_locked, 60 62 }; 61 63 … … 146 148 } 147 149 150 /** Test whether page tables are locked. 151 * 152 * @param as Address space where the page tables belong. 153 * 154 * @return True if the page tables belonging to the address soace 155 * are locked, otherwise false. 156 */ 157 bool pt_locked(as_t *as) 158 { 159 return mutex_locked(&as->lock); 160 } 161 148 162 /** @} 149 163 */
Note:
See TracChangeset
for help on using the changeset viewer.