Changeset fc1e4f6 in mainline for genarch/src/mm/page_pt.c
- Timestamp:
- 2006-01-31T00:44:08Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef67bab
- Parents:
- 6a3c9a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genarch/src/mm/page_pt.c
r6a3c9a7 rfc1e4f6 31 31 #include <mm/frame.h> 32 32 #include <arch/mm/page.h> 33 #include <arch/mm/as id.h>33 #include <arch/mm/as.h> 34 34 #include <arch/types.h> 35 35 #include <typedefs.h> … … 37 37 #include <memstr.h> 38 38 39 static void pt_mapping_insert( __address page, asid_t asid, __address frame, int flags, __address root);40 static pte_t *pt_mapping_find( __address page, asid_t asid, __address root);39 static void pt_mapping_insert(as_t *as, __address page, __address frame, int flags, __address root); 40 static pte_t *pt_mapping_find(as_t *as, __address page, __address root); 41 41 42 42 page_operations_t page_pt_operations = { … … 50 50 * using 'flags'. 51 51 * 52 * @param as Ignored. 52 53 * @param page Virtual address of the page to be mapped. 53 * @param asid Ignored.54 54 * @param frame Physical address of memory frame to which the mapping is done. 55 55 * @param flags Flags to be used for mapping. 56 56 * @param root Explicit PTL0 address. 57 57 */ 58 void pt_mapping_insert( __address page, asid_t asid, __address frame, int flags, __address root)58 void pt_mapping_insert(as_t *as, __address page, __address frame, int flags, __address root) 59 59 { 60 60 pte_t *ptl0, *ptl1, *ptl2, *ptl3; … … 98 98 * Find mapping for virtual page. 99 99 * 100 * @param as Ignored. 100 101 * @param page Virtual page. 101 * @param asid Ignored.102 102 * @param root PTL0 address if non-zero. 103 103 * 104 104 * @return NULL if there is no such mapping; entry from PTL3 describing the mapping otherwise. 105 105 */ 106 pte_t *pt_mapping_find( __address page, asid_t asid, __address root)106 pte_t *pt_mapping_find(as_t *as, __address page, __address root) 107 107 { 108 108 pte_t *ptl0, *ptl1, *ptl2, *ptl3;
Note:
See TracChangeset
for help on using the changeset viewer.