Ignore:
Timestamp:
Feb 14, 2018, 3:39:35 PM (6 years ago)
Author:
alain
Message:

bloup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_gpt.h

    r408 r432  
    214214
    215215/****************************************************************************************
    216  * This function atomically flip the COW flag and WRITABLE flag for all PTEs
     216 * This function atomically set the COW flag and reset the WRITABLE flag for all PTEs
    217217 * of a remote GPT identified by the <gpt_xp>, <vpn_base>, and <vpn_size arguments.
    218  * - it set COW and reset WRITABLE when <set_cow> argument is true and PTE is WRITABLE.
    219  * - it set WRITABLE and reset COW when <set_cow> is false and PTE is COW.
    220218 * It does nothing if the remote PTE is not MAPPED and SMALL.
    221  * It is called when a fork is executed, or when a COW must be resolved.
    222  ****************************************************************************************
    223  * @ set_cow   : [in]  set COW & reset WRITABLE if true / do the opposite if false.
     219 ****************************************************************************************
    224220 * @ gpt_xp    : [in]  extended pointer on the remote GPT.
    225221 * @ vpn_base  : [in]  first virtual page.
    226222 * @ vpn_size  : [in]  number of pages.
    227223 ***************************************************************************************/
    228 void hal_gpt_flip_cow( bool_t  set_cow,
    229                        xptr_t  gpt_xp,
    230                        vpn_t   vpn_base,
    231                        vpn_t   vpn_size );
     224void hal_gpt_set_cow( xptr_t  gpt_xp,
     225                      vpn_t   vpn_base,
     226                      vpn_t   vpn_size );
    232227
    233228/****************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.