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