diff -r a41df078684a -r 4122176ea935 userlibandfileserver/fileserver/sfat/fat_config.inl --- a/userlibandfileserver/fileserver/sfat/fat_config.inl Mon Oct 19 15:55:17 2009 +0100 +++ b/userlibandfileserver/fileserver/sfat/fat_config.inl Mon Dec 21 16:14:42 2009 +0000 @@ -21,6 +21,15 @@ @internalTechnology */ +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!! +//!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it +//!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + #ifndef FAT_CONFIGURATOR_INL #define FAT_CONFIGURATOR_INL @@ -136,7 +145,7 @@ //----------------------------------------------------------------------------- /** Get leaf dir cache size - @return leaf dir cache size + @return leaf dir cache size */ TUint32 TFatConfig::LeafDirCacheSize() const { @@ -145,26 +154,26 @@ } /** - get the minimum cache size setting for dynamic dir cache - @return minimum cache size in bytes + get the minimum cache size setting for dynamic dir cache + @return minimum cache size in bytes */ TUint32 TFatConfig::DynamicDirCacheSizeMin() const - { + { ASSERT(iInitialised); - ASSERT(iDynamicDirCacheSizeMinKB < (KMaxTUint32 >> K1KiloByteLog2)); //check data overflow + ASSERT(iDynamicDirCacheSizeMinKB < (KMaxTUint32 >> K1KiloByteLog2)); //check data overflow return iDynamicDirCacheSizeMinKB << K1KiloByteLog2; - } + } /** - get the maximum cache size setting for dynamic dir cache - @return maximum cache size in bytes + get the maximum cache size setting for dynamic dir cache + @return maximum cache size in bytes */ TUint32 TFatConfig::DynamicDirCacheSizeMax() const - { + { ASSERT(iInitialised); - ASSERT(iDynamicDirCacheSizeMaxKB < (KMaxTUint32 >> K1KiloByteLog2)); //check data overflow + ASSERT(iDynamicDirCacheSizeMaxKB < (KMaxTUint32 >> K1KiloByteLog2)); //check data overflow return iDynamicDirCacheSizeMaxKB << K1KiloByteLog2; - } + } /** retrieve the size of the maximal size of the dynamic dir cache page in log2.