userlibandfileserver/fileserver/sfat32/common_constants.h
branchRCL_3
changeset 87 2f92ad2dc5db
parent 36 538db54a451d
child 269 d57b86b1867a
equal deleted inserted replaced
81:e7d2d738d3c2 87:2f92ad2dc5db
   113 const TInt KMaxFAT12Entries=0xFF0;	    ///< Maximum number of clusters in a Fat12 Fat table, 4080
   113 const TInt KMaxFAT12Entries=0xFF0;	    ///< Maximum number of clusters in a Fat12 Fat table, 4080
   114 const TUint8 KBootSectorMediaDescriptor=0xF8;   ///< Media descriptor for a Fat volume, Generic disk
   114 const TUint8 KBootSectorMediaDescriptor=0xF8;   ///< Media descriptor for a Fat volume, Generic disk
   115 const TUint8 KEntryErasedMarker=0xE5;           ///< Erased entry marker for a directory entry
   115 const TUint8 KEntryErasedMarker=0xE5;           ///< Erased entry marker for a directory entry
   116 
   116 
   117 
   117 
   118 const TInt EOF_32Bit =0x0fffffff;   ///< End of cluster chain value for Fat32
   118 const TUint EOF_32Bit =0x0fffffff;   ///< End of cluster chain value for Fat32
   119 const TInt EOF_16Bit =0xffff;       ///< End of cluster chain value for Fat16
   119 const TUint EOF_16Bit =0xffff;       ///< End of cluster chain value for Fat16
   120 const TInt EOF_12Bit =0xfff;        ///< End of cluster chain value for Fat12
   120 const TUint EOF_12Bit =0xfff;        ///< End of cluster chain value for Fat12
   121 const TInt KBad_32Bit=0x0ffffff7;   ///< Bad cluster value for Fat32
   121 const TUint KBad_32Bit=0x0ffffff7;   ///< Bad cluster value for Fat32
   122 const TInt KBad_16Bit=0xfff7;       ///< Bad cluster value for Fat16
   122 const TUint KBad_16Bit=0xfff7;       ///< Bad cluster value for Fat16
   123 const TInt KBad_12Bit=0xff7;        ///< bad cluster value for Fat12
   123 const TUint KBad_12Bit=0xff7;        ///< bad cluster value for Fat12
   124 
   124 
   125 const TUint   KSpareCluster = 0;          ///< FAT entry value for the spare cluster
   125 const TUint   KSpareCluster = 0;          ///< FAT entry value for the spare cluster
   126 const TUint32 KFatFirstSearchCluster = 2; ///< FAT usable clusters start from 2; FAT[0] and FAT[1] are reserved
   126 const TUint32 KFatFirstSearchCluster = 2; ///< FAT usable clusters start from 2; FAT[0] and FAT[1] are reserved
   127 
   127 
   128 const TUint   KFat16EntrySzLog2 = 1;      ///< Log2(sizeof(TFat16Entry)); FAT16 entry is 2 bytes
   128 const TUint   KFat16EntrySzLog2 = 1;      ///< Log2(sizeof(TFat16Entry)); FAT16 entry is 2 bytes