Author: cgutman
Date: Thu Jun 3 09:48:35 2010
New Revision: 47530
URL:
http://svn.reactos.org/svn/reactos?rev=47530&view=rev
Log:
[FREELDR]
- Verify that Int 13 extensions are supported before trying to use them
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/i386disk.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/i386disk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/i386disk.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/i386disk.c [iso-8859-1] Thu Jun 3
09:48:35 2010
@@ -134,6 +134,9 @@
PUSHORT Ptr = (PUSHORT)(BIOSCALLBUFFER);
DPRINTM(DPRINT_DISK, "DiskGetExtendedDriveParameters()\n");
+
+ if (!DiskInt13ExtensionsSupported(DriveNumber))
+ return FALSE;
// Initialize transfer buffer
*Ptr = BufferSize;