[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EFI and multiboot2 devlopment work for Xen
From: |
Peter Jones |
Subject: |
Re: EFI and multiboot2 devlopment work for Xen |
Date: |
Tue, 22 Oct 2013 11:35:44 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Oct 22, 2013 at 10:51:40AM -0400, Konrad Rzeszutek Wilk wrote:
> And I still haven't found the module that can launch any PE/COFF
> image from GRUB2. Maybe that is a myth.
"chainload" will do this. In fact, it doesn't do much:
static grub_err_t
grub_chainloader_boot (void)
{
grub_efi_boot_services_t *b;
grub_efi_status_t status;
grub_efi_uintn_t exit_data_size;
grub_efi_char16_t *exit_data = NULL;
b = grub_efi_system_table->boot_services;
status = efi_call_3 (b->start_image, image_handle, &exit_data_size,
&exit_data);
if (status != GRUB_EFI_SUCCESS)
...
That means, of course, that it won't use shim on Secure Boot systems.
There's probably some value in merging the two, so that chainload will
use the efi stub if and only if a) it's present, and b) it's needed for
e.g. multiple initrds or bad UGA/GOP data.
--
Peter
- Re: EFI and multiboot2 devlopment work for Xen, (continued)
- Re: EFI and multiboot2 devlopment work for Xen, Ian Campbell, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Jan Beulich, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Ian Campbell, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Jan Beulich, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Konrad Rzeszutek Wilk, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Ian Campbell, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Konrad Rzeszutek Wilk, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Ian Campbell, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Konrad Rzeszutek Wilk, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Jan Beulich, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen,
Peter Jones <=
- Re: EFI and multiboot2 devlopment work for Xen, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/10/22
- Re: EFI and multiboot2 devlopment work for Xen, Konrad Rzeszutek Wilk, 2013/10/22
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Ian Campbell, 2013/10/22
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Konrad Rzeszutek Wilk, 2013/10/22
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Ian Campbell, 2013/10/23
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Konrad Rzeszutek Wilk, 2013/10/23
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/10/23
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Andrey Borzenkov, 2013/10/23
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Jan Beulich, 2013/10/23
- Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen, Jan Beulich, 2013/10/23