Changeset 544a2e4 in mainline for kernel/generic/include/mm/page.h


Ignore:
Timestamp:
2011-05-30T21:37:43Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7b712b60
Parents:
18ba2e4f (diff), 0743493a (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r18ba2e4f r544a2e4  
    3838#include <typedefs.h>
    3939#include <mm/as.h>
    40 #include <memstr.h>
     40#include <arch/mm/page.h>
     41
     42#define P2SZ(pages) \
     43        ((pages) << PAGE_WIDTH)
    4144
    4245/** Operations to manipulate page mappings. */
     
    4447        void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int);
    4548        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);
    4750} page_mapping_operations_t;
    4851
     
    5558extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int);
    5659extern void page_mapping_remove(as_t *, uintptr_t);
    57 extern pte_t *page_mapping_find(as_t *, uintptr_t);
     60extern pte_t *page_mapping_find(as_t *, uintptr_t, bool);
    5861extern pte_t *page_table_create(unsigned int);
    5962extern void page_table_destroy(pte_t *);
Note: See TracChangeset for help on using the changeset viewer.