Ignore:
Timestamp:
Jun 18, 2017, 10:06:41 PM (5 years ago)
Author:
alain
Message:

Introduce syscalls.

File:
1 edited

Legend:

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

    r17 r23  
    166166                      uint32_t * attr,
    167167                      ppn_t    * ppn );
     168/****************************************************************************************
     169 * This function copies all valid entries from the source <src_gpt> to the <dst_pgt>.
     170 * The <src_gpt> and the <dst_gpt> point on the same physical pages.
     171 * If the <cow> argument is true, the GPT_WRITABLE attribute is reset for all writable
     172 * entries in both <src_gpt> and <dst_gpt>, and the PG_COW flag is registered in all
     173 * writable physical page descriptors, to support the Copy-On-Write mechanism.
     174 ****************************************************************************************
     175 * @ dst_gpt   : [in]  pointer on the destination GPT.
     176 * @ src_gpt   : [in]  pointer on the source GPT.
     177 * @ cow       : [in]  activate the COPY-On-Write mechanism if true.
     178 ***************************************************************************************/
     179error_t hal_gpt_copy( gpt_t    * dst_gpt,
     180                      gpt_t    * src_gpt,
     181                      bool_t     cow );
    168182
    169183
Note: See TracChangeset for help on using the changeset viewer.