Ignore:
Timestamp:
2016-08-31T17:51:04Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb63c06
Parents:
38dc82d
Message:

Add page_mapping_update()

page_mapping_update() can be used to safely update the accessed and dirty
bits of a PTE in the actual page tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4v/tlb.c

    r38dc82d r346b12a2  
    224224                itsb_pte_copy(&t);
    225225#endif
     226                page_mapping_update(AS, va, true, &t);
    226227        } else {
    227228                /*
     
    271272                dtsb_pte_copy(&t, true);
    272273#endif
     274                page_mapping_update(as, va, true, &t);
    273275        } else {
    274276                /*
     
    309311                dtsb_pte_copy(&t, false);
    310312#endif
     313                page_mapping_update(as, va, true, &t);
    311314        } else {
    312315                /*
Note: See TracChangeset for help on using the changeset viewer.