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


Ignore:
Timestamp:
2011-06-01T09:04:08Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0a7627b, c9f0975
Parents:
e51a514 (diff), 5d1b3aa (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

Conflicts - trivial to solve
In kernel/generic/src/mm/page.c - sys_page_find_mapping does
not use locking when accessing page tables (hope that is correct).

File:
1 edited

Legend:

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

    re51a514 rdf29f24  
    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.