Changes in kernel/genarch/src/mm/page_pt.c [a35b458:4b1c7c6f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/page_pt.c
ra35b458 r4b1c7c6f 55 55 static void pt_mapping_remove(as_t *, uintptr_t); 56 56 static bool pt_mapping_find(as_t *, uintptr_t, bool, pte_t *pte); 57 static void pt_mapping_update(as_t *, uintptr_t, bool, pte_t *pte);57 static void pt_mapping_update(as_t *, uintptr_t, bool, const pte_t *pte); 58 58 static void pt_mapping_make_global(uintptr_t, size_t); 59 59 … … 353 353 * @param[in] pte New PTE. 354 354 */ 355 void pt_mapping_update(as_t *as, uintptr_t page, bool nolock, pte_t *pte)355 void pt_mapping_update(as_t *as, uintptr_t page, bool nolock, const pte_t *pte) 356 356 { 357 357 pte_t *t = pt_mapping_find_internal(as, page, nolock); … … 431 431 SET_PTL1_ADDRESS(ptl0, PTL0_INDEX(addr), KA2PA(l1)); 432 432 SET_PTL1_FLAGS(ptl0, PTL0_INDEX(addr), 433 PAGE_ PRESENT | PAGE_USER | PAGE_CACHEABLE |434 PAGE_EXEC | PAGE_WRITE | PAGE_READ);433 PAGE_USER | PAGE_CACHEABLE | 434 PAGE_EXEC | PAGE_WRITE); 435 435 } 436 436 }
Note:
See TracChangeset
for help on using the changeset viewer.