Changeset 22 for trunk/kernel/mm/page.h


Ignore:
Timestamp:
Jun 3, 2017, 6:58:06 PM (7 years ago)
Author:
max@…
Message:

cosmetic & typos again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/page.h

    r18 r22  
    8888
    8989/*************************************************************************************
    90  * This function set one or several flags in page descriptor flags.
     90 * This function sets one or several flags in page descriptor flags.
    9191 * @ page    : pointer to page descriptor.
    9292 * @ value   : all non zero bits in value will be set.
     
    9696
    9797/*************************************************************************************
    98  * This function reset one or several flags in page descriptor flags.
     98 * This function clears one or several flags in page descriptor flags.
    9999 * @ page    : pointer to page descriptor.
    100100 * @ value   : all non zero bits in value will be cleared.
     
    104104
    105105/*************************************************************************************
    106  * This function test the value of one or several flags in page descriptor flags.
     106 * This function tests the value of one or several flags in page descriptor flags.
    107107 * @ page    : pointer to page descriptor.
    108108 * @ value   : all non zero bits will be tested.
     
    114114/*************************************************************************************
    115115 * This function synchronizes (i.e. update the disk) all dirty pages in a cluster.
    116  * It scan the PPM dirty list, that should be empty when this operation is completed.
     116 * It scans the PPM dirty list, that should be empty when this operation is completed.
    117117 ************************************************************************************/
    118118void sync_all_pages();
    119119
    120120/*************************************************************************************
    121  * This function set the PG_DIRTY flag in the page descriptor,
    122  * and register the page in the dirty list in PPM.
     121 * This function sets the PG_DIRTY flag in the page descriptor,
     122 * and registers the page in the dirty list in PPM.
    123123 * @ page     : pointer on page descriptor.
    124124 * @ returns true if page was not dirty / returns false if page was dirty
     
    127127
    128128/*************************************************************************************
    129  * This function reset the PG_DIRTY flag in the page descriptor,
    130  * and remove the page from the dirty list in PPM.
     129 * This function resets the PG_DIRTY flag in the page descriptor,
     130 * and removes the page from the dirty list in PPM.
    131131 * @ page     : pointer on page descriptor.
    132132 * @ returns true if page was dirty / returns false if page was not dirty
     
    135135
    136136/*************************************************************************************
    137  * This function makes a local copy of the content of a src page  to a dst page.
     137 * This function makes a local copy of the content of a src page to a dst page.
    138138 * @ dst      : pointer on destination page descriptor.
    139139 * @ src      : pointer on source page descriptor.
     
    143143
    144144/*************************************************************************************
    145  * This function reset to 0 all bytes in a given page.
     145 * This function resets to 0 all bytes in a given page.
    146146 * @ page     : pointer on page descriptor.
    147147 ************************************************************************************/
     
    157157
    158158/*************************************************************************************
    159  * This blocking function reset the PG_LOCKED flag on the page, if there is no
    160  * other waiting thread. IF there is waiting thread(s), it activates the first
     159 * This blocking function resets the PG_LOCKED flag on the page, if there is no
     160 * other waiting thread. If there is waiting thread(s), it activates the first
    161161 * waiting thread without modifying the PG_LOCKED flag.
    162162 * @ page     : pointer on page descriptor.
     
    165165
    166166/*************************************************************************************
    167  * This blocking function atomically increment the page refcount.
     167 * This blocking function atomically increments the page refcount.
    168168 * @ page     : pointer on page descriptor.
    169169 ************************************************************************************/
     
    171171
    172172/*************************************************************************************
    173  * This blocking function atomically decrement the page refcount.
     173 * This blocking function atomically decrements the page refcount.
    174174 * @ page     : pointer on page descriptor.
    175175 ************************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.