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).
This commit is contained in:
parent
e2e078478e
commit
10fc3eb9a7
3 changed files with 41 additions and 11 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
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).
|
||||
|
||||
2008-11-14 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue