userlibandfileserver/fileserver/sfat32/common_constants.h
changeset 36 538db54a451d
parent 33 0173bcd7697c
child 87 2f92ad2dc5db
equal deleted inserted replaced
34:f497542af8e4 36:538db54a451d
    85 //-----------------------------------------------------------------------------
    85 //-----------------------------------------------------------------------------
    86 
    86 
    87 //-- define this macro in order to enable the DEMAND PAGING DIRECTORY CACHE.
    87 //-- define this macro in order to enable the DEMAND PAGING DIRECTORY CACHE.
    88 #define USE_DP_DIR_CACHE
    88 #define USE_DP_DIR_CACHE
    89 
    89 
       
    90 //-- define this macro in order to use "Rummage Dirictory Cache" feature: searching for the entry in the cache first
       
    91 #define USE_DIR_CACHE_RUMMAGE
       
    92 
    90 //-----------------------------------------------------------------------------
    93 //-----------------------------------------------------------------------------
    91 
    94 
    92 typedef TUint32 TLinAddr;
    95 typedef TUint32 TLinAddr;
    93 typedef TUint32 TFat32Entry;
    96 typedef TUint32 TFat32Entry;
    94 typedef TUint16 TFat16Entry;
    97 typedef TUint16 TFat16Entry;
   140 	EFatBadBootSectorParameter,     // 3
   143 	EFatBadBootSectorParameter,     // 3
   141 	EFatBadDirEntryParameter,       // 4
   144 	EFatBadDirEntryParameter,       // 4
   142 	EFatBadStdFormatName,           // 5
   145 	EFatBadStdFormatName,           // 5
   143 	EFatBadDosFormatName,           // 6
   146 	EFatBadDosFormatName,           // 6
   144 	EFatCorrupt,                    // 7
   147 	EFatCorrupt,                    // 7
   145 	EFatChkDskIllegalClusterNumber, // 8
   148 	EFatFilePosBeyondEnd,			// 8 
   146 	EFatChkDskClusterAlreadyInUse,  // 9
   149 	EFatFileSeekIndexTooSmall,      // 9 
   147 	EFatChkDskBadCluster,           // 10
   150 	EFatFileSeekIndexTooSmall2,     // 10
   148 	EFatChkDskInvalidEntrySize,     // 11
   151 	ELruCacheBadGranularity,        // 11
   149 	EFatFilePosBeyondEnd,			// 12
   152 	EFatRawReadTooBig,              // 12
   150 	EFatFileSeekIndexTooSmall,      // 13
   153 	EFatReadUidFailed,              // 13
   151 	EFatFileSeekIndexTooSmall2,     // 14
   154 	ELruCacheFlushNotSupported,     // 14
   152 	ELruCacheBadGranularity,        // 15
   155 	EReadFileSectionFailed,         // 15
   153 	EFatRawReadTooBig,              // 16
   156 	EBadReplacementForUnconvertibleUnicodeCharacters, // 16
   154 	EFatReadUidFailed,              // 17
   157 
   155 	ELruCacheFlushNotSupported,     // 18
   158     EFatRAMDriveSizeInvalid,        // 17
   156 	EReadFileSectionFailed,         // 19
   159 	EFatRAMDriveFreeInvalid,        // 18
   157 	EBadReplacementForUnconvertibleUnicodeCharacters, // 20
   160     ECheckFatIndexZero,             // 19
   158 
   161 
   159     EFatRAMDriveSizeInvalid,        // 21
   162     EFatCache_BadGranularity,       // 20
   160 	EFatRAMDriveFreeInvalid,        // 22
   163     EFatCache_DiscardingDirtyData,  // 21
   161     ECheckFatIndexZero,             // 23
   164     EFatCache_NotImplemented,       // 22
   162 
   165     EFatCache_BadFatType,           // 23
   163     EFatCache_BadGranularity,       // 24
   166 
   164     EFatCache_DiscardingDirtyData,  // 25
   167     EFatTable_InvalidIndex,         // 24
   165     EFatCache_NotImplemented,       // 26
       
   166     EFatCache_BadFatType,           // 27
       
   167 
       
   168     EFatTable_InvalidIndex,         // 28
       
   169 
   168 
   170 	};
   169 	};
   171 
   170 
   172 //-----------------------------------------------------------------------------
   171 //-----------------------------------------------------------------------------
   173 
   172