kerneltest/e32test/lffs/tf_fsscan.cpp
changeset 33 0173bcd7697c
parent 0 a41df078684a
equal deleted inserted replaced
31:56f325a607ea 33:0173bcd7697c
    47 
    47 
    48 LOCAL_C void ShowDriveCaps( const TLocalDriveCaps& aCaps )
    48 LOCAL_C void ShowDriveCaps( const TLocalDriveCaps& aCaps )
    49 	{
    49 	{
    50 	RDebug::Print( _L("    size=%ld"), aCaps.iSize );
    50 	RDebug::Print( _L("    size=%ld"), aCaps.iSize );
    51 	RDebug::Print( _L("    media type=%d"), aCaps.iType );
    51 	RDebug::Print( _L("    media type=%d"), aCaps.iType );
    52 	RDebug::Print( _L("    battery state=%d"), aCaps.iBattery );
    52 	RDebug::Print( _L("    connection bus=%d"), aCaps.iConnectionBusType );
    53 	RDebug::Print( _L("    drive attributes=0x%x"), aCaps.iDriveAtt );
    53 	RDebug::Print( _L("    drive attributes=0x%x"), aCaps.iDriveAtt );
    54 	RDebug::Print( _L("    media attributes=0x%x"), aCaps.iMediaAtt );
    54 	RDebug::Print( _L("    media attributes=0x%x"), aCaps.iMediaAtt );
    55     RDebug::Print( _L("    base address=0x%x"), aCaps.iBaseAddress );
    55     RDebug::Print( _L("    base address=0x%x"), aCaps.iBaseAddress );
    56 
    56 
    57 	_LIT( KFsysUnknown, "Unknown" );
    57 	_LIT( KFsysUnknown, "Unknown" );
   132 
   132 
   133 LOCAL_C void ShowVolumeInfo( const TVolumeInfo& aInfo )
   133 LOCAL_C void ShowVolumeInfo( const TVolumeInfo& aInfo )
   134 	{
   134 	{
   135 	
   135 	
   136 	RDebug::Print( _L("    media type=%d"), aInfo.iDrive.iType );
   136 	RDebug::Print( _L("    media type=%d"), aInfo.iDrive.iType );
   137 	RDebug::Print( _L("    battery state=%d"), aInfo.iDrive.iBattery );
       
   138 	RDebug::Print( _L("    drive attributes=0x%x"), aInfo.iDrive.iDriveAtt );
   137 	RDebug::Print( _L("    drive attributes=0x%x"), aInfo.iDrive.iDriveAtt );
   139 	RDebug::Print( _L("    media attributes=0x%x"), aInfo.iDrive.iMediaAtt );
   138 	RDebug::Print( _L("    media attributes=0x%x"), aInfo.iDrive.iMediaAtt );
       
   139 	RDebug::Print( _L("    connection bus=%d"), aInfo.iDrive.iConnectionBusType );
   140 
   140 
   141 	RDebug::Print( _L("    UID=0x%x"), aInfo.iUniqueID );
   141 	RDebug::Print( _L("    UID=0x%x"), aInfo.iUniqueID );
   142 	RDebug::Print( _L("    size=0x%lx"), aInfo.iSize );
   142 	RDebug::Print( _L("    size=0x%lx"), aInfo.iSize );
   143 	RDebug::Print( _L("    free=0x%lx"), aInfo.iFree );
   143 	RDebug::Print( _L("    free=0x%lx"), aInfo.iFree );
   144 	RDebug::Print( _L("    name=%S"), &aInfo.iName );
   144 	RDebug::Print( _L("    name=%S"), &aInfo.iName );