Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ada559c in mainline for kernel/generic/src/mm/as.c


Ignore:
Timestamp:
2010-05-30T21:11:39Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
a820bf7
Parents:
c8e99bb
Message:

Add page_table_locked() interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    rc8e99bb rada559c  
    12931293}
    12941294
     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 */
     1302bool 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
    12951310
    12961311/** Find address space area and lock it.
Note: See TracChangeset for help on using the changeset viewer.