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/sun4u/tlb.c

    r38dc82d r346b12a2  
    210210                itsb_pte_copy(&t, index);
    211211#endif
     212                page_mapping_update(AS, istate->tpc, true, &t);
    212213        } else {
    213214                /*
     
    264265                dtsb_pte_copy(&t, index, true);
    265266#endif
     267                page_mapping_update(as, page_16k, true, &t);
    266268        } else {
    267269                /*
     
    308310                dtsb_pte_copy(&t, index, false);
    309311#endif
     312                page_mapping_update(as, page_16k, true, &t);
    310313        } else {
    311314                /*
Note: See TracChangeset for help on using the changeset viewer.