Changeset af863d0 in mainline for kernel/genarch/src/mm/as_pt.c
- Timestamp:
- 2008-07-31T10:42:38Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e0e8c9
- Parents:
- 2a513972
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/as_pt.c
r2a513972 raf863d0 53 53 static void pt_unlock(as_t *as, bool unlock); 54 54 55 #ifdef __OBJC__56 @implementation as_t57 58 + (pte_t *) page_table_create: (int) flags59 {60 return ptl0_create(flags);61 }62 63 + (void) page_table_destroy: (pte_t *) page_table64 {65 ptl0_destroy(page_table);66 }67 68 - (void) page_table_lock: (bool) _lock69 {70 pt_lock(self, _lock);71 }72 73 - (void) page_table_unlock: (bool) unlock74 {75 pt_unlock(self, unlock);76 }77 78 @end79 #else80 55 as_operations_t as_pt_operations = { 81 56 .page_table_create = ptl0_create, … … 84 59 .page_table_unlock = pt_unlock 85 60 }; 86 #endif87 61 88 62 /** Create PTL0.
Note:
See TracChangeset
for help on using the changeset viewer.