Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/page.h

    r235e6c7 rada559c  
    3838#include <typedefs.h>
    3939#include <mm/as.h>
    40 #include <arch/mm/page.h>
    41 
    42 #define P2SZ(pages) \
    43         ((pages) << PAGE_WIDTH)
     40#include <memstr.h>
    4441
    4542/** Operations to manipulate page mappings. */
     
    4744        void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int);
    4845        void (* mapping_remove)(as_t *, uintptr_t);
    49         pte_t *(* mapping_find)(as_t *, uintptr_t, bool);
     46        pte_t *(* mapping_find)(as_t *, uintptr_t);
    5047} page_mapping_operations_t;
    5148
     
    5855extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int);
    5956extern void page_mapping_remove(as_t *, uintptr_t);
    60 extern pte_t *page_mapping_find(as_t *, uintptr_t, bool);
     57extern pte_t *page_mapping_find(as_t *, uintptr_t);
    6158extern pte_t *page_table_create(unsigned int);
    6259extern void page_table_destroy(pte_t *);
Note: See TracChangeset for help on using the changeset viewer.