Changeset 8f00329 in mainline for generic/src/mm/page.c
- Timestamp:
- 2006-02-09T21:59:31Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a3eeceb6
- Parents:
- bfb87df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/page.c
rbfb87df r8f00329 72 72 } 73 73 74 /** Map page to frame74 /** Insert mapping of page to frame. 75 75 * 76 76 * Map virtual address 'page' to physical address 'frame' … … 79 79 * The address space must be locked and interrupts must be disabled. 80 80 * 81 * @param as Address space to wich page belongs. .81 * @param as Address space to wich page belongs. 82 82 * @param page Virtual address of the page to be mapped. 83 83 * @param frame Physical address of memory frame to which the mapping is done. … … 90 90 91 91 page_mapping_operations->mapping_insert(as, page, frame, flags); 92 } 93 94 /** Remove mapping of page. 95 * 96 * Remove any mapping of 'page' within address space 'as'. 97 * TLB shootdown should follow in order to make effects of 98 * this call visible. 99 * 100 * The address space must be locked and interrupts must be disabled. 101 * 102 * @param as Address space to wich page belongs. 103 * @param page Virtual address of the page to be demapped. 104 */ 105 void page_mapping_remove(as_t *as, __address page) 106 { 107 ASSERT(page_mapping_operations); 108 ASSERT(page_mapping_operations->mapping_remove); 109 110 page_mapping_operations->mapping_remove(as, page); 92 111 } 93 112
Note:
See TracChangeset
for help on using the changeset viewer.