Changeset c868e2d in mainline for kernel/genarch/src/mm/page_ht.c


Ignore:
Timestamp:
2011-12-19T23:42:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
398e33be
Parents:
7aaed09
Message:

Add and apply page_mapping_make_global() on each span added to the
kernel non-identity. This ensures that the kernel non-identity will use
the same set of page tables in all address spaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/mm/page_ht.c

    r7aaed09 rc868e2d  
    5959static void ht_mapping_remove(as_t *, uintptr_t);
    6060static pte_t *ht_mapping_find(as_t *, uintptr_t, bool);
     61static void ht_mapping_make_global(uintptr_t, size_t);
    6162
    6263slab_cache_t *pte_cache = NULL;
     
    8889        .mapping_insert = ht_mapping_insert,
    8990        .mapping_remove = ht_mapping_remove,
    90         .mapping_find = ht_mapping_find
     91        .mapping_find = ht_mapping_find,
     92        .mapping_make_global = ht_mapping_make_global
    9193};
    9294
     
    262264}
    263265
     266void ht_mapping_make_global(uintptr_t base, size_t size)
     267{
     268        /* nothing to do */
     269}
     270
    264271/** @}
    265272 */
Note: See TracChangeset for help on using the changeset viewer.