[ros-diffs] [hpoussin] 32294: Load ext2.sys driver too

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon Feb 11 17:46:25 CET 2008


Author: hpoussin
Date: Mon Feb 11 19:46:24 2008
New Revision: 32294

URL: http://svn.reactos.org/svn/reactos?rev=32294&view=rev
Log:
Load ext2.sys driver too

Modified:
    trunk/reactos/boot/freeldr/freeldr/include/arch.h
    trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c

Modified: trunk/reactos/boot/freeldr/freeldr/include/arch.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/arch.h?rev=32294&r1=32293&r2=32294&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/arch.h (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/arch.h Mon Feb 11 19:46:24 2008
@@ -40,7 +40,7 @@
 #define BIOSCALLBUFOFFSET	0x0000	/* Buffer to store temporary data for any Int386() call */
 #define FILESYSBUFFER		0x80000	/* Buffer to store file system data (e.g. cluster buffer for FAT) */
 #define DISKREADBUFFER		0x90000	/* Buffer to store data read in from the disk via the BIOS */
-#elif defined(_M_PPC) || defined(_M_ARM)
+#elif defined(_M_PPC) || defined(_M_MIPS) || defined(_M_ARM)
 extern PVOID FsStaticBufferDisk, FsStaticBufferData;
 #define DISKREADBUFFER		FsStaticBufferDisk
 #define FILESYSBUFFER           FsStaticBufferData

Modified: trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c?rev=32294&r1=32293&r2=32294&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c Mon Feb 11 19:46:24 2008
@@ -404,6 +404,10 @@
   if (!LoadDriver(SourcePath, "fastfat.sys"))
     return;
 
+  /* Load ext2.sys (could be loaded by the setup prog!) */
+  if (!LoadDriver(SourcePath, "ext2.sys"))
+    return;
+
     /* Load additional files specified in txtsetup.inf */
     if (InfFindFirstLine(InfHandle,
                          "SourceDisksFiles",




More information about the Ros-diffs mailing list