Changes between Version 13 and Version 14 of file_system
- Timestamp:
- Jun 12, 2015, 9:58:01 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
file_system
v13 v14 27 27 * The '''File-Descriptor-Array''' is a statically defined array of file descriptors. According to the UNIX semantic, a private file descriptor is allocated to each task requiring to open the file, and contains mainly the current file pointer (called ''offset''). The max number of file descriptors is defined by the GIET_OPEN_FILES_MAX global variable (in the ''get_config.h'' file). 28 28 29 * The global Fat_Descriptorcontains general information such as the FAT region lba and size, the DATA region lba and size, pointers on the Fat-Cache or Inode-Tree, the File-Descriptor-Array, and the locks protecting the FAT shared structures. It29 * The global '''Fat-Descriptor''' contains general information such as the FAT region lba and size, the DATA region lba and size, pointers on the Fat-Cache or Inode-Tree, the File-Descriptor-Array, and the locks protecting the FAT shared structures. It 30 30 contains also a single cluster buffer (4096 bytes) used in the initialization phase. 31 31 32 32 To support various block device peripheral, this FAT32 implementation defines a generic function to transparently access various physical block devices, using the driver specified in the ''hard_config.h'' file. Five drivers are presently supported ( IOC_BDV / IOC_HBA / IOC_SDC / IOC_SPI / IOC_RDK ). 33 33 34 WARNING 1: A node name (file or directory) cannot be larger than 3 8characters.34 WARNING 1: A node name (file or directory) cannot be larger than 37 characters. 35 35 36 36 WARNING 2: There is no rescue mechanism (at the moment) in case of heap overflow: The system crash with a nice error message on the kernel terminal if the heap defined in the mapping is too small...