Changeset 482826d in mainline for genarch/src/mm/as_pt.c
- Timestamp:
- 2006-05-31T16:23:19Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39031cc
- Parents:
- 343fc179
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genarch/src/mm/as_pt.c
r343fc179 r482826d 45 45 46 46 static pte_t *ptl0_create(int flags); 47 static void ptl0_destroy(pte_t *page_table); 47 48 48 49 static void pt_lock(as_t *as, bool lock); … … 51 52 as_operations_t as_pt_operations = { 52 53 .page_table_create = ptl0_create, 54 .page_table_destroy = ptl0_destroy, 53 55 .page_table_lock = pt_lock, 54 56 .page_table_unlock = pt_unlock … … 95 97 } 96 98 99 /** Destroy page table. 100 * 101 * Destroy PTL0, other levels are expected to be already deallocated. 102 * 103 * @param page_table Physical address of PTL0. 104 */ 105 void ptl0_destroy(pte_t *page_table) 106 { 107 frame_free(ADDR2PFN((__address) page_table)); 108 } 109 97 110 /** Lock page tables. 98 111 *
Note:
See TracChangeset
for help on using the changeset viewer.