Changeset 551
- Timestamp:
- Apr 5, 2015, 12:24:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.c
r530 r551 76 76 #endif 77 77 78 // cache coherence for both L1 & L2 caches 79 if ( to_mem ) // memory write 80 { 81 // L1 cache (only if L1 cache coherence not guaranteed by hardware) 82 if ( GIET_NO_HARD_CC ) _dcache_buf_invalidate( buf_vaddr, count<<9 ); 83 84 // L2 cache (only if we use an IO-Bridge component in architecture)) 85 if ( USE_IOB ) _mmc_inval( buf_paddr, count<<9 ); 86 } 87 else // memory read 88 { 89 // L1 cache : nothing to do for L1 write-through 90 91 // L2 cache (only if we use an IO-Bridge component in architecture)) 92 if ( USE_IOB ) _mmc_sync( buf_paddr, count<<9 ); 93 } 94 95 // call the proper descheduling physical device driver 96 97 #if ( USE_IOC_BDV ) 78 79 #if GIET_NO_HARD_CC // L1 cache inval (virtual addresses) 80 if ( to_mem ) _dcache_buf_invalidate( buf_vaddr, count<<9 ); 81 #endif 82 83 84 #if ( USE_IOC_BDV ) // call the proper driver 98 85 return( _bdv_access( use_irq , to_mem , lba , buf_paddr , count ) ); 99 86 #elif ( USE_IOC_HBA ) … … 959 946 unsigned int p = procid & ((1<<P_WIDTH)-1); 960 947 961 _printf("\n[DEBUG FAT] P[%d,%d,%d] enters _scan_directory()for %s\n",948 _printf("\n[DEBUG FAT] _scan_directory() : P[%d,%d,%d] enters for %s\n", 962 949 x, y, p, file_name ); 963 950 #endif … … 1273 1260 unsigned int y = (procid >> P_WIDTH) & ((1<<Y_WIDTH)-1); 1274 1261 unsigned int p = procid & ((1<<P_WIDTH)-1); 1275 _printf("\n[DEBUG FAT] P[%d,%d,%d] enters _fat_open()for path %s\n",1262 _printf("\n[DEBUG FAT] _fat_open() : P[%d,%d,%d] enters for path %s\n", 1276 1263 x, y, p, pathname ); 1277 1264 #endif
Note: See TracChangeset
for help on using the changeset viewer.