Changeset 367 for trunk/kernel/vfs/fatfs.c
- Timestamp:
- Aug 14, 2017, 11:39:03 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/vfs/fatfs.c
r315 r367 264 264 265 265 #if (CONFIG_FATFS_DEBUG > 1) 266 uint32_t * buf = (uint32_t *)ppm_page2vaddr( mapper_get_page ( mapper , 0 ) ); 267 uint32_t line , word; 266 xptr_t base_xp = ppm_page2base( XPTR( local_cxy , mapper_get_page ( mapper , 0 ) ) ); 267 uint32_t * buf = (uint32_t *)GET_PTR( base_xp ); 268 uint32_t line , word; 268 269 printk("\n*** FAT mapper content for first 256 entries ***\n"); 269 270 for( line = 0 ; line < 16 ; line++ ) … … 369 370 uint32_t line; 370 371 uint32_t byte = 0; 371 printk("\n*** boot record at cycle %d ***\n", hal_get_cycles());372 printk("\n***** FAT boot record\n" ); 372 373 for ( line = 0 ; line < 32 ; line++ ) 373 374 { … … 554 555 if( error ) return EIO; 555 556 556 fatfs_dmsg("\n[INFO] %s : exit for inode %x / page = %x/ mapper = %x\n",557 __FUNCTION__ , inode , page, mapper );557 fatfs_dmsg("\n[INFO] %s : exit for inode %x / page_index = %d / mapper = %x\n", 558 __FUNCTION__ , inode , index , mapper ); 558 559 } 559 560 … … 612 613 uint32_t * buf = (uint32_t *)base; 613 614 uint32_t line , word; 614 printk("\n*** DIRECTORY content for first 16 entries ***\n");615 printk("\n***** first 16 dir entries for parent inode %x\n", parent_inode ); 615 616 for( line = 0 ; line < 16 ; line++ ) 616 617 {
Note: See TracChangeset
for help on using the changeset viewer.