Changes between Version 3 and Version 4 of kernel_fat32
- Timestamp:
- Mar 28, 2015, 2:50:08 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_fat32
v3 v4 50 50 Return the file size (bytes) for a file identified by the fd_id. 51 51 52 === 6) int ''' fat_close'''( unsigned int fd_id ) ===52 === 6) int '''_fat_close'''( unsigned int fd_id ) === 53 53 This function removes a file identified by the fd_id from the set of open files. 54 54 55 55 === 7) int '''_fat_ioc_access'''( unsigned int use_irq , unsigned int to_mem , unsigned int lba , unsigned int buf_vaddr , unsigned int count ) === 56 All the previous functions uses this function to access the block device. It computes the buffer physical address, and call the proper block device driver, as specified in the mapping.56 This function is acting as a generic block device driver: all the previous functions use this last function to access the available block device, depending on the USE_IOC_BDV / USE_IOC_HBA / USE_IOC_SDC / USE_IOC_RDK flags defined in the ''hard_config.h'' file. It computes the buffer physical address, and check access rights. 57 57 * '''use_irq''' : Boolean => request to use the descheduling mode when non zero. 58 58 * '''to_mem''' : Boolean => to memory transfer when non zero.