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


Ignore:
Timestamp:
2011-06-01T10:04:32Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
65c3794
Parents:
049a16f (diff), df29f24 (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 with usb/development

File:
1 edited

Legend:

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

    r049a16f rc9f0975  
    3939#include <proc/task.h>
    4040#include <mm/as.h>
    41 #include <memstr.h>
     41#include <arch/mm/page.h>
     42
     43#define P2SZ(pages) \
     44        ((pages) << PAGE_WIDTH)
    4245
    4346/** Operations to manipulate page mappings. */
     
    4548        void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int);
    4649        void (* mapping_remove)(as_t *, uintptr_t);
    47         pte_t *(* mapping_find)(as_t *, uintptr_t);
     50        pte_t *(* mapping_find)(as_t *, uintptr_t, bool);
    4851} page_mapping_operations_t;
    4952
     
    5659extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int);
    5760extern void page_mapping_remove(as_t *, uintptr_t);
    58 extern pte_t *page_mapping_find(as_t *, uintptr_t);
     61extern pte_t *page_mapping_find(as_t *, uintptr_t, bool);
    5962extern pte_t *page_table_create(unsigned int);
    6063extern void page_table_destroy(pte_t *);
Note: See TracChangeset for help on using the changeset viewer.