Author: ros-arm-bringup
Date: Tue Jul 21 11:44:36 2009
New Revision: 42116
URL:
http://svn.reactos.org/svn/reactos?rev=42116&view=rev
Log:
- Do not set the non-x86 file system and disk read buffers to some random static variable
that isn't even initialized on time.
- As a temporary hack, hard-code them to 0x80000000, a valid RAM address on OMAP3.
- This code path is only used on ARM anyway, so it's not such a big deal, but a
better fix should be done later.
- OmapLDR can now boot FreeLDR, which attempts to load NTOSKRNL.EXE and dies.
- Need to revisit significant parts of the MMU code before attempting to go further;
this won't likely be done for a good couple of months.
Modified:
trunk/reactos/boot/freeldr/freeldr/include/arch.h
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 [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/arch.h [iso-8859-1] Tue Jul 21 11:44:36
2009
@@ -48,8 +48,8 @@
#define DISKREADBUFFER 0x90000 /* Buffer to store data read in from the disk via the
BIOS */
#elif defined(_M_PPC) || defined(_M_MIPS) || defined(_M_ARM)
extern PVOID FsStaticBufferDisk, FsStaticBufferData;
-#define DISKREADBUFFER FsStaticBufferDisk
-#define FILESYSBUFFER FsStaticBufferData
+#define DISKREADBUFFER 0x80000000
+#define FILESYSBUFFER 0x80000000
#endif
/* Makes "x" a global variable or label */