Changes in kernel/generic/include/mm/page.h [b93d637:235e6c7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/page.h
rb93d637 r235e6c7 37 37 38 38 #include <typedefs.h> 39 #include <proc/task.h>40 39 #include <mm/as.h> 41 #include <memstr.h> 40 #include <arch/mm/page.h> 41 42 #define P2SZ(pages) \ 43 ((pages) << PAGE_WIDTH) 42 44 43 45 /** Operations to manipulate page mappings. */ … … 45 47 void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int); 46 48 void (* mapping_remove)(as_t *, uintptr_t); 47 pte_t *(* mapping_find)(as_t *, uintptr_t );49 pte_t *(* mapping_find)(as_t *, uintptr_t, bool); 48 50 } page_mapping_operations_t; 49 51 … … 56 58 extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int); 57 59 extern void page_mapping_remove(as_t *, uintptr_t); 58 extern pte_t *page_mapping_find(as_t *, uintptr_t );60 extern pte_t *page_mapping_find(as_t *, uintptr_t, bool); 59 61 extern pte_t *page_table_create(unsigned int); 60 62 extern void page_table_destroy(pte_t *); … … 63 65 extern uintptr_t hw_map(uintptr_t, size_t); 64 66 65 extern sysarg_t sys_page_find_mapping(uintptr_t, uintptr_t *);66 67 67 #endif 68 68
Note:
See TracChangeset
for help on using the changeset viewer.