Changeset 263 for soft/giet_vm/giet_fat32/fat32.c
- Timestamp:
- Dec 19, 2013, 9:36:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.c
r260 r263 497 497 fat.cache_lba = lba; 498 498 499 //#if GIET_DEBUG_FAT500 //display_fat_cache();501 //#endif499 #if GIET_DEBUG_FAT 500 display_fat_cache(); 501 #endif 502 502 503 503 // in this loop we scan all names in directory identified by cluster: … … 714 714 if ( _ioc_read( mode, // mode for IOC driver 715 715 0, // sector index 716 fat.fat_cache, // buffer address716 fat.fat_cache, // buffer address 717 717 1 ) ) // one sector 718 718 { … … 760 760 #if GIET_DEBUG_FAT 761 761 _tty_get_lock( 0 ); 762 _puts("\n[FAT DEBUG] First PartitionSector Loaded\n");762 _puts("\n[FAT DEBUG] Partition First Sector Loaded\n"); 763 763 _tty_release_lock( 0 ); 764 764 #endif … … 839 839 /////////////////////////////////////////////////////////////////////////////// 840 840 // This function checks that the kernel FAT structure has been initialised, 841 // and makes the FAT initialisation if required (first user _fat_open request).841 // and makes the FAT initialisation if it is the first user open request. 842 842 // This function searches a file identified by the "pathname" argument. 843 843 // It starts from root (cluster 2) to scan successively each subdirectory. … … 871 871 if( fat.initialised != FAT_INITIALISED ) 872 872 { 873 _fat_init( IOC_KERNEL_MODE ); // we use KERNEL_MODE, because 874 // we need to write into FAT cache 873 _fat_init( IOC_BOOT_VA_MODE ); 875 874 } 876 875 877 // Scan the sub-directories, starting from the root directory (cluster 2)876 // Scan the directories, starting from the root directory (cluster 2) 878 877 // - The get_name_from_path() function extracts (successively) 879 878 // each directory name from the pathname, and store it in name[] buffer
Note: See TracChangeset
for help on using the changeset viewer.