Author: hpoussin Date: Sun Sep 6 18:07:08 2009 New Revision: 43004
URL: http://svn.reactos.org/svn/reactos?rev=43004&view=rev Log: For now, some filesystems still need to use DiskGetBootVolume()...
Modified: trunk/reactos/boot/freeldr/freeldr/fs/ext2.c trunk/reactos/boot/freeldr/freeldr/fs/fat.c trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c
Modified: trunk/reactos/boot/freeldr/freeldr/fs/ext2.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ext... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/ext2.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/ext2.c [iso-8859-1] Sun Sep 6 18:07:08 2009 @@ -1290,7 +1290,7 @@ ULONGLONG StartSector; ULONGLONG SectorCount; int Type; - if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) + if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) return NULL; Ext2OpenVolume(DriveNumber, StartSector, SectorCount); return &Ext2FuncTable;
Modified: trunk/reactos/boot/freeldr/freeldr/fs/fat.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/fat... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/fat.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/fat.c [iso-8859-1] Sun Sep 6 18:07:08 2009 @@ -1535,7 +1535,7 @@ ULONGLONG StartSector; ULONGLONG SectorCount; int Type; - if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) + if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) return NULL; FatOpenVolume(DriveNumber, StartSector, SectorCount); return &FatFuncTable;
Modified: trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ntf... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c [iso-8859-1] Sun Sep 6 18:07:08 2009 @@ -905,7 +905,7 @@ ULONGLONG StartSector; ULONGLONG SectorCount; int Type; - if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) + if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type)) return NULL; NtfsOpenVolume(DriveNumber, StartSector, SectorCount); return &NtfsFuncTable;