mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
2009-03-08 Robert Millan <rmh@aybabtu.com>
Make loader/i386/linux.c usable on i386-pc again.
* kern/i386/pc/init.c (grub_machine_init): Disable addition of low
memory to heap.
* loader/i386/linux.c [GRUB_MACHINE_PCBIOS] (allocate_pages): Remove
`#error' stanza.
This commit is contained in:
1 parent
d8b3b60eea
commit
aa9f3bffbd
3 files changed
+16
-3
No files matched your search
+2
-3
@@ -143,9 +143,8 @@ allocate_pages (grub_size_t prot_size)
|
||||
real_mode_mem = 0;
|
||||
prot_mode_mem = 0;
|
||||
|
||||
#ifdef GRUB_MACHINE_PCBIOS
|
||||
#error i386-pc port adds lower memory to heap, which collides with `real_mode_mem' allocation below
|
||||
#endif
|
||||
/* FIXME: Should request low memory from the heap when this feature is
|
||||
implemented. */
|
||||
|
||||
auto int NESTED_FUNC_ATTR hook (grub_uint64_t, grub_uint64_t, grub_uint32_t);
|
||||
int NESTED_FUNC_ATTR hook (grub_uint64_t addr, grub_uint64_t size, grub_uint32_t type)
|
||||
|
||||
Reference in new issue
Block a user