Changeset 629 for trunk/kernel/fs/fatfs.h
- Timestamp:
- May 17, 2019, 9:27:04 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/fs/fatfs.h
r628 r629 181 181 * 182 182 * WARNING 2 : Most fields are constant values, but the <free_cluster_hint>, 183 * <free_clusters>, <dirty_page_min>, <dirty_page_max>, <lock>, and the <fs_info_buffer> 184 * are shared variables, that can be modified by any thread running in any cluster. 185 * The <fs_info_buffer> contains a copy of the FS_INFO sector, and is only allocated in 186 * the FAT cluster (i.e. in cluster 0). It is used by all to synchronously update the 187 * free clusters info on IOC device. 183 * <free_clusters>, <lock>, and the <fs_info_buffer> are shared variables, 184 * that can be modified by any thread running in any cluster. The <fs_info_buffer> 185 * contains a copy of the FS_INFO sector, and is only allocated in the FAT cluster 186 * (cluster 0). It is used to synchronously update the free clusters info on IOC device. 188 187 * => For all these variables, only the values stored in the FAT cluster must be used. 189 188 ****************************************************************************************/ … … 202 201 203 202 /* shared variables (only the copy in FAT cluster must be used) */ 204 uint32_t dirty_page_min; /*! min dirty page index in FAT mapper */205 uint32_t dirty_page_max; /*! max dirty page index in FAT mapper */206 203 uint32_t free_cluster_hint; /*! cluster[hint+1] is the first free */ 207 204 uint32_t free_clusters; /*! free clusters number */
Note: See TracChangeset
for help on using the changeset viewer.