Changes between Version 3 and Version 4 of kernel_fat32


Ignore:
Timestamp:
Mar 28, 2015, 2:50:08 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_fat32

    v3 v4  
    5050Return the file size (bytes) for a file identified by the fd_id.
    5151
    52 === 6) int '''fat_close'''( unsigned int  fd_id ) ===
     52=== 6) int '''_fat_close'''( unsigned int  fd_id ) ===
    5353This function removes a file identified by the fd_id from the set of open files.
    5454
    5555=== 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.
     56This 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.
    5757 * '''use_irq''' : Boolean => request to use the descheduling mode when non zero.
    5858 * '''to_mem''' : Boolean => to memory transfer when non zero.