Changes between Version 12 and Version 13 of file_system
- Timestamp:
- Jun 12, 2015, 9:55:39 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
file_system
v12 v13 92 92 It returns 0 if success / It returns -1 if failure. 93 93 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 ) === 95 95 This function implements the giet_fat_file_info() system call. 96 96 It returns the size and the current offset value for a file identified by the "fd_id" argument. … … 149 149 It returns 0 if success / It returns -1 if failure. 150 150 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 ) === 152 152 This 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. 153 153 * '''pathname''' : file complete pathname