From ce60689c68559c5fd91f904319613eb075b95ff5 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sat, 1 May 2010 16:35:15 +0200 Subject: [PATCH] * kern/i386/coreboot/init.c (grub_machine_init): Call grub_machine_mmap_init on qemu. --- ChangeLog | 5 +++++ kern/i386/coreboot/init.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eed00a623..8163ebe70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-01 Vladimir Serbinenko + + * kern/i386/coreboot/init.c (grub_machine_init): Call + grub_machine_mmap_init on qemu. + 2010-05-01 Vladimir Serbinenko * boot/i386/qemu/boot.S: Add a missing .code16. diff --git a/kern/i386/coreboot/init.c b/kern/i386/coreboot/init.c index b945e623f..f7b837044 100644 --- a/kern/i386/coreboot/init.c +++ b/kern/i386/coreboot/init.c @@ -117,7 +117,7 @@ grub_machine_init (void) return 0; } -#ifdef GRUB_MACHINE_MULTIBOOT +#if defined (GRUB_MACHINE_MULTIBOOT) || defined (GRUB_MACHINE_QEMU) grub_machine_mmap_init (); #endif grub_machine_mmap_iterate (heap_init);