Changeset 1564c4b in mainline for kernel/generic/include/mm/page.h
- Timestamp:
- 2011-06-08T19:39:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2af29ed
- Parents:
- e686889c (diff), 0eff68e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/page.h
re686889c r1564c4b 37 37 38 38 #include <typedefs.h> 39 #include <proc/task.h> 39 40 #include <mm/as.h> 40 #include <memstr.h> 41 #include <arch/mm/page.h> 42 43 #define P2SZ(pages) \ 44 ((pages) << PAGE_WIDTH) 41 45 42 46 /** Operations to manipulate page mappings. */ … … 44 48 void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int); 45 49 void (* mapping_remove)(as_t *, uintptr_t); 46 pte_t *(* mapping_find)(as_t *, uintptr_t );50 pte_t *(* mapping_find)(as_t *, uintptr_t, bool); 47 51 } page_mapping_operations_t; 48 52 … … 55 59 extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int); 56 60 extern void page_mapping_remove(as_t *, uintptr_t); 57 extern pte_t *page_mapping_find(as_t *, uintptr_t );61 extern pte_t *page_mapping_find(as_t *, uintptr_t, bool); 58 62 extern pte_t *page_table_create(unsigned int); 59 63 extern void page_table_destroy(pte_t *); … … 62 66 extern uintptr_t hw_map(uintptr_t, size_t); 63 67 68 extern sysarg_t sys_page_find_mapping(uintptr_t, uintptr_t *); 69 64 70 #endif 65 71
Note:
See TracChangeset
for help on using the changeset viewer.