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


Ignore:
Timestamp:
2011-06-10T19:33:41Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1878386
Parents:
13ecdac9 (diff), 79a141a (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

    r13ecdac9 r1affcdf3  
    3737
    3838#include <typedefs.h>
     39#include <proc/task.h>
    3940#include <mm/as.h>
    40 #include <memstr.h>
     41#include <arch/mm/page.h>
     42
     43#define P2SZ(pages) \
     44        ((pages) << PAGE_WIDTH)
    4145
    4246/** Operations to manipulate page mappings. */
     
    4448        void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int);
    4549        void (* mapping_remove)(as_t *, uintptr_t);
    46         pte_t *(* mapping_find)(as_t *, uintptr_t);
     50        pte_t *(* mapping_find)(as_t *, uintptr_t, bool);
    4751} page_mapping_operations_t;
    4852
     
    5559extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int);
    5660extern void page_mapping_remove(as_t *, uintptr_t);
    57 extern pte_t *page_mapping_find(as_t *, uintptr_t);
     61extern pte_t *page_mapping_find(as_t *, uintptr_t, bool);
    5862extern pte_t *page_table_create(unsigned int);
    5963extern void page_table_destroy(pte_t *);
     
    6266extern uintptr_t hw_map(uintptr_t, size_t);
    6367
     68extern sysarg_t sys_page_find_mapping(uintptr_t, uintptr_t *);
     69
    6470#endif
    6571
Note: See TracChangeset for help on using the changeset viewer.