Changeset 6be2c13 in mainline for kernel/genarch/src/mm/page_pt.c
- Timestamp:
- 2018-03-16T20:58:20Z (7 years ago)
- Parents:
- 973be387 (diff), 4b1c7c6f (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. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-16 20:58:20)
- git-committer:
- GitHub <noreply@…> (2018-03-16 20:58:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/mm/page_pt.c
r973be387 r6be2c13 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.