2008-11-14 Robert Millan <rmh@aybabtu.com>
commit98d09da3d7cc555d92c509e69527a54414af1812
authorrobertmh <robertmh@d0de0278-0dc1-4c01-8a07-af38b3205e46>
Fri, 14 Nov 2008 19:04:26 +0000 (14 19:04 +0000)
committerrobertmh <robertmh@d0de0278-0dc1-4c01-8a07-af38b3205e46>
Fri, 14 Nov 2008 19:04:26 +0000 (14 19:04 +0000)
treed0fef828a9c3ef496e15f5931f7f23fd951e489e
parent0ddb1036c4e7c4d49c3e9be06780624f70580403
2008-11-14  Robert Millan  <rmh@aybabtu.com>

        * include/grub/i386/coreboot/memory.h (GRUB_MEMORY_MACHINE_LOWER_SIZE):
        Redefine to match with GRUB_MEMORY_MACHINE_UPPER_START (0x100000).  We
        don't want to mess with lower memory, because it is used in the Linux
        loader.

        * loader/i386/linux.c (allocate_pages): Allocate `real_mode_mem' in
        an appropiate place in lower memory, between 0x10000 and 0x90000,
        like loader/i386/efi/linux.c does.  Linux often panics if real_mode_mem
        is in our heap (probably as a result of it being corrupted during
        decompression).

git-svn-id: svn://svn.savannah.gnu.org/grub/trunk/grub2@1915 d0de0278-0dc1-4c01-8a07-af38b3205e46
ChangeLog
include/grub/i386/coreboot/memory.h
loader/i386/linux.c