Changeset 6a3c9a7 in mainline for generic/include/mm/as.h
- Timestamp:
- 2006-01-30T23:44:00Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc1e4f6
- Parents:
- a60c748
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/as.h
ra60c748 r6a3c9a7 66 66 size_t size; /**< Size of this area in multiples of PAGE_SIZE. */ 67 67 __address base; /**< Base address of this area. */ 68 index_t *mapping; /**< Map of physical frame numbers mapped to virtual page numbers in this area. */69 68 }; 70 69 … … 77 76 */ 78 77 struct as { 79 /** Protected by asidlock. Must be acquired before as-> 78 /** Protected by asidlock. Must be acquired before as->lock. */ 80 79 link_t as_with_asid_link; 81 80 … … 88 87 extern as_t * as_create(pte_t *ptl0, int flags); 89 88 extern as_area_t *as_area_create(as_t *as, as_area_type_t type, size_t size, __address base); 90 extern void as_ area_set_mapping(as_area_t *a, index_t vpn, index_t pfn);89 extern void as_set_mapping(as_t *as, __address page, __address frame); 91 90 extern int as_page_fault(__address page); 92 91 extern void as_install(as_t *m);
Note:
See TracChangeset
for help on using the changeset viewer.