Changeset ada559c in mainline for kernel/genarch/src/mm/as_ht.c
- Timestamp:
- 2010-05-30T21:11:39Z (14 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_ht.c
rc8e99bb rada559c 51 51 static void ht_lock(as_t *, bool); 52 52 static void ht_unlock(as_t *, bool); 53 static bool ht_locked(as_t *); 53 54 54 55 as_operations_t as_ht_operations = { … … 57 58 .page_table_lock = ht_lock, 58 59 .page_table_unlock = ht_unlock, 60 .page_table_locked = ht_locked, 59 61 }; 60 62 … … 126 128 } 127 129 130 /** Test whether page tables are locked. 131 * 132 * @param as Address space where the page tables belong. 133 * 134 * @return True if the page tables belonging to the address soace 135 * are locked, otherwise false. 136 */ 137 bool ht_locked(as_t *as) 138 { 139 return (mutex_locked(&page_ht_lock) && mutex_locked(&as->lock)); 140 } 141 128 142 /** @} 129 143 */
Note:
See TracChangeset
for help on using the changeset viewer.