* kern/i386/coreboot/init.c (grub_machine_init): Call

grub_machine_mmap_init on qemu.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-01 16:35:15 +02:00
parent 0359d00628
commit ce60689c68
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
* kern/i386/coreboot/init.c (grub_machine_init): Call
grub_machine_mmap_init on qemu.
2010-05-01 Vladimir Serbinenko <phcoder@gmail.com> 2010-05-01 Vladimir Serbinenko <phcoder@gmail.com>
* boot/i386/qemu/boot.S: Add a missing .code16. * boot/i386/qemu/boot.S: Add a missing .code16.

View file

@ -117,7 +117,7 @@ grub_machine_init (void)
return 0; return 0;
} }
#ifdef GRUB_MACHINE_MULTIBOOT #if defined (GRUB_MACHINE_MULTIBOOT) || defined (GRUB_MACHINE_QEMU)
grub_machine_mmap_init (); grub_machine_mmap_init ();
#endif #endif
grub_machine_mmap_iterate (heap_init); grub_machine_mmap_iterate (heap_init);