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/inclu…
==============================================================================
--- 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/react…
==============================================================================
--- 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",