Changes between Version 12 and Version 13 of file_system


Ignore:
Timestamp:
Jun 12, 2015, 9:55:39 AM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v12 v13  
    9292It returns 0 if success /  It returns -1 if failure.
    9393
    94 === int '''_fat_file_info( unsigned int fd_id , unsigned int* size , unsigned int* offset ) ===
     94=== int '''_fat_file_info'''( unsigned int fd_id , unsigned int* size , unsigned int* offset ) ===
    9595This function implements the giet_fat_file_info() system call.
    9696It returns the size and the current offset value for a file identified  by the "fd_id" argument.
     
    149149It returns 0 if success /  It returns -1 if failure.
    150150
    151 === int '''_fat_read_no_cache( char* pathname , unsigned int buffer_vbase , unsigned int buffer_size ) ===
     151=== int '''_fat_read_no_cache'''( char* pathname , unsigned int buffer_vbase , unsigned int buffer_size ) ===
    152152This functiond load a file identified by the pathname argument into the memory buffer defined by the buffer_vbase / buffer_size arguments. It is intended to be called by the boot-loader, as it uses neither the dynamically allocated FAT structures (Inode-Tree, Fat_Cache or File-Cache), nor the File-Descriptor-Array. It uses only the 4096 bytes buffer defined in the FAT descriptor.
    153153 * '''pathname''' : file complete pathname