Changeset f5935ed in mainline for generic/src/mm/page.c
- Timestamp:
- 2006-02-06T15:09:58Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 021d471
- Parents:
- c7ec94a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/page.c
rc7ec94a4 rf5935ed 44 44 45 45 /** Virtual operations for page subsystem. */ 46 page_ operations_t *page_operations = NULL;46 page_mapping_operations_t *page_mapping_operations = NULL; 47 47 48 48 void page_init(void) … … 86 86 void page_mapping_insert(as_t *as, __address page, __address frame, int flags) 87 87 { 88 ASSERT(page_ operations);89 ASSERT(page_ operations->mapping_insert);88 ASSERT(page_mapping_operations); 89 ASSERT(page_mapping_operations->mapping_insert); 90 90 91 page_ operations->mapping_insert(as, page, frame, flags);91 page_mapping_operations->mapping_insert(as, page, frame, flags); 92 92 } 93 93 … … 105 105 pte_t *page_mapping_find(as_t *as, __address page) 106 106 { 107 ASSERT(page_ operations);108 ASSERT(page_ operations->mapping_find);107 ASSERT(page_mapping_operations); 108 ASSERT(page_mapping_operations->mapping_find); 109 109 110 return page_ operations->mapping_find(as, page);110 return page_mapping_operations->mapping_find(as, page); 111 111 }
Note:
See TracChangeset
for help on using the changeset viewer.