Changeset 360 for soft/giet_vm/giet_fat32/fat32.c
- Timestamp:
- Jul 23, 2014, 10:12:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.c
r358 r360 31 31 ////////////////////////////////////////////////////////////////////////////////// 32 32 33 __attribute__((section (". kdata")))34 fat32_fs_t fat __attribute__((aligned( 64)));33 __attribute__((section (".fatdata"))) 34 fat32_fs_t fat __attribute__((aligned(512))); 35 35 36 36 ////////////////////////////////////////////////////////////////////////////////// … … 50 50 for ( line=0 ; line<16 ; line++ ) 51 51 { 52 // display address53 _printf( "%x : ", (fat.cache_lba<<9) + (line<<5));52 // display line index 53 _printf( "%x : ", line ); 54 54 55 55 // display data hexa … … 790 790 791 791 #if GIET_DEBUG_FAT 792 _printf("\n[FAT DEBUG] enter _scan_directory() for dir/file %s\n", file_name );792 _printf("\n[FAT DEBUG] enters _scan_directory() for dir/file %s\n", file_name ); 793 793 #endif 794 794 … … 1096 1096 _printf("\nNumber of sectors for one FAT %x", fat.fat_sectors ); 1097 1097 _printf("\nNumber of free clusters %x", fat.number_free_cluster ); 1098 _printf("\nLast last allocated cluster%x", fat.last_cluster_allocated );1098 _printf("\nLast allocated cluster %x", fat.last_cluster_allocated ); 1099 1099 _printf("\n#################################################################\n"); 1100 1100 }
Note: See TracChangeset
for help on using the changeset viewer.