kernel/eka/drivers/locmedia/locmedia.cpp
changeset 266 0008ccd16016
parent 259 57b9594f5772
equal deleted inserted replaced
259:57b9594f5772 266:0008ccd16016
  5384 			return KErrNotSupported;
  5384 			return KErrNotSupported;
  5385 		    }
  5385 		    }
  5386 
  5386 
  5387 		TLocalDriveCapsV6& caps = *(TLocalDriveCapsV6*)capsBuf.Ptr();
  5387 		TLocalDriveCapsV6& caps = *(TLocalDriveCapsV6*)capsBuf.Ptr();
  5388 		blockSize = caps.iBlockSize;
  5388 		blockSize = caps.iBlockSize;
  5389 		__ASSERT_DEBUG(blockSize,LOCM_FAULT());
       
  5390 		__ASSERT_DEBUG(__e32_bit_count_32(blockSize)==1,LOCM_FAULT());
       
  5391 		
  5389 		
  5392 		TLocDrv* drive;
  5390 		TLocDrv* drive;
  5393 		for (i=0; i<KMaxLocalDrives; ++i)
  5391 		for (i=0; i<KMaxLocalDrives; ++i)
  5394 			{
  5392 			{
  5395 			drive = TheDrives[i];
  5393 			drive = TheDrives[i];