Changeset 291 for soft/giet_vm/giet_fat32/fat32.h
- Timestamp:
- Feb 13, 2014, 3:29:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.h
r260 r291 67 67 #define FS_SIGNATURE_POSITION_2 484 , 4 68 68 #define FS_SIGNATURE_POSITION_3 508 , 4 69 #define FS_FREE_CLUSTER 4 92, 470 #define FS_FREE_CLUSTER_HINT 49 6, 469 #define FS_FREE_CLUSTER 488 , 4 70 #define FS_FREE_CLUSTER_HINT 492 , 4 71 71 /***************************************************************************************/ 72 72 … … 98 98 /***************************************************************************************/ 99 99 100 /*********************** DIR_ATTR values (attributes) ********************************/ 100 /*********************** DIR_ATTR values (attributes) ********************************/ 101 101 #define ATTR_READ_ONLY 0x01 102 102 #define ATTR_HIDDEN 0x02 … … 128 128 unsigned int first_cluster; // first cluster index in partition 129 129 unsigned int file_size; // number of bytes 130 unsigned int lba_dir_entry; // lba of dir_entry for an open file 130 131 char name[244]; // pathname 131 132 } file_desc_t; … … 146 147 unsigned int data_lba; // lba of first data sector 147 148 unsigned int cache_lba; // lba of sector loaded in fat_cache 149 unsigned int last_cluster_allocated; // Last known cluster allocated 150 unsigned int number_free_cluster; // number of free clusters 151 unsigned int fs_info_lba; // lba of fs_info 148 152 } fat32_fs_t; 149 153 /***************************************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.