From de33ea571e405800d3ac1456e8431dbcba062ff4 Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Tue, 21 Jul 2009 09:44:36 +0000 Subject: [PATCH] - 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. svn path=/trunk/; revision=42116 --- reactos/boot/freeldr/freeldr/include/arch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/boot/freeldr/freeldr/include/arch.h b/reactos/boot/freeldr/freeldr/include/arch.h index 79feafe3a47..d73786f96d6 100644 --- a/reactos/boot/freeldr/freeldr/include/arch.h +++ b/reactos/boot/freeldr/freeldr/include/arch.h @@ -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 */