Changeset 864a081 in mainline for kernel/generic/include/mm/page.h


Ignore:
Timestamp:
2011-05-24T03:40:00Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf49001
Parents:
5c460cc (diff), d4c472b (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

    r5c460cc r864a081  
    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.