Author: rharabien
Date: Sun Jul 3 23:13:09 2011
New Revision: 52527
URL:
http://svn.reactos.org/svn/reactos?rev=52527&view=rev
Log:
[FREELDR]
- Remove debug prints added in previous commit...
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c [iso-8859-1] Sun Jul 3 23:13:09
2011
@@ -87,7 +87,6 @@
Packet->Reserved = 0;
Packet->LBABlockCount = (USHORT)SectorCount;
ASSERT(Packet->LBABlockCount == SectorCount);
- DbgPrint("here\n");
Packet->TransferBufferOffset = ((ULONG_PTR)Buffer) & 0x0F;
Packet->TransferBufferSegment = (USHORT)(((ULONG_PTR)Buffer) >> 4);
Packet->LBAStartBlock = SectorNumber;
@@ -103,17 +102,17 @@
// Retry 3 times
for (RetryCount=0; RetryCount<3; RetryCount++)
- {DPRINTM(DPRINT_DISK, "retry\n");
+ {
Int386(0x13, &RegsIn, &RegsOut);
// If it worked return TRUE
if (INT386_SUCCESS(RegsOut))
- {DPRINTM(DPRINT_DISK, "PcDiskReadLogicalSectorsLBA() success\n");
+ {
return TRUE;
}
// If it was a corrected ECC error then the data is still good
else if (RegsOut.b.ah == 0x11)
- {DPRINTM(DPRINT_DISK, "PcDiskReadLogicalSectorsLBA() success\n");
+ {
return TRUE;
}
// If it failed the do the next retry