kerneltest/e32test/pccd/t_media.cpp
branchanywhere
changeset 41 d32f34975bbf
parent 33 0173bcd7697c
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
   185 	r=TheDrive.Caps(capsPckg);
   185 	r=TheDrive.Caps(capsPckg);
   186 	test(r==KErrNone);
   186 	test(r==KErrNone);
   187 	TUint driveSize=I64LOW(driveCaps.iSize);
   187 	TUint driveSize=I64LOW(driveCaps.iSize);
   188 	test.Printf(_L("Drive size       = %08x (%dK)\n"),driveSize,driveSize>>10);
   188 	test.Printf(_L("Drive size       = %08x (%dK)\n"),driveSize,driveSize>>10);
   189 	test.Printf(_L("Media type       = %d\n"),driveCaps.iType);
   189 	test.Printf(_L("Media type       = %d\n"),driveCaps.iType);
   190 	test.Printf(_L("Battery state    = %d\n"),driveCaps.iBattery);
   190 	test.Printf(_L("Connection Bus   = %d\n"),driveCaps.iConnectionBusType);
   191 	test.Printf(_L("Drive attributes = %08x\n"),driveCaps.iDriveAtt);
   191 	test.Printf(_L("Drive attributes = %08x\n"),driveCaps.iDriveAtt);
   192 	test.Printf(_L("Media attributes = %08x\n"),driveCaps.iMediaAtt);
   192 	test.Printf(_L("Media attributes = %08x\n"),driveCaps.iMediaAtt);
   193 	test.Printf(_L("Base address     = %08x\n"),driveCaps.iBaseAddress);
   193 	test.Printf(_L("Base address     = %08x\n"),driveCaps.iBaseAddress);
   194 	test.Printf(_L("File system ID   = %08x\n"),driveCaps.iFileSystemId);
   194 	test.Printf(_L("File system ID   = %08x\n"),driveCaps.iFileSystemId);
   195 	test.Printf(_L("Hidden sectors   = %08x\n"),driveCaps.iHiddenSectors);
   195 	test.Printf(_L("Hidden sectors   = %08x\n"),driveCaps.iHiddenSectors);