* grub-core/efiemu/main.c (grub_efiemu_prepare): Handle errors from

grub_efiemu_autocore.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-10-14 15:44:04 +02:00
parent d87c681fd4
commit d0f4c1ea0f
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-10-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/efiemu/main.c (grub_efiemu_prepare): Handle errors from
grub_efiemu_autocore.
2010-10-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/i386/pc/startup.S (bypass_table): Use 0x1b explicitly

View file

@ -266,11 +266,13 @@ grub_efiemu_prepare (void)
if (prepared)
return GRUB_ERR_NONE;
err = grub_efiemu_autocore ();
if (err)
return err;
grub_dprintf ("efiemu", "Preparing %d-bit efiemu\n",
8 * grub_efiemu_sizeof_uintn_t ());
err = grub_efiemu_autocore ();
/* Create NVRAM. */
grub_efiemu_pnvram ();