Author: arty Date: Fri Nov 13 16:31:45 2009 New Revision: 44139
URL: http://svn.reactos.org/svn/reactos?rev=44139&view=rev Log: It's a good thing the fat driver allocates blocks early in the partition. Likely also fixes some problems booting on partition number > 1.
Modified: branches/arty-newcc/boot/freeldr/freeldr/arch/i386/hardware.c
Modified: branches/arty-newcc/boot/freeldr/freeldr/arch/i386/hardware.c URL: http://svn.reactos.org/svn/reactos/branches/arty-newcc/boot/freeldr/freeldr/... ============================================================================== --- branches/arty-newcc/boot/freeldr/freeldr/arch/i386/hardware.c [iso-8859-1] (original) +++ branches/arty-newcc/boot/freeldr/freeldr/arch/i386/hardware.c [iso-8859-1] Fri Nov 13 16:31:45 2009 @@ -503,8 +503,7 @@ if (Position->LowPart & (Context->SectorSize - 1)) return EINVAL;
- /* FIXME: take HighPart into account */ - Context->SectorNumber = Position->LowPart / Context->SectorSize; + Context->SectorNumber = Position->QuadPart / Context->SectorSize; return ESUCCESS; }