[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 4/5] x86: add multiboot2 protocol support for EFI platforms



>>> On 18.01.17 at 20:51, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 18/01/17 14:17, Doug Goldstein wrote:
>> +.Lefi_multiboot2_proto:
>> +        /* Zero EFI SystemTable and EFI ImageHandle addresses. */
>> +        xor     %esi,%esi
>> +        xor     %edi,%edi
>> +
>> +        /* Skip Multiboot2 information fixed part. */
>> +        lea     (MB2_fixed_sizeof+MULTIBOOT2_TAG_ALIGN-1)(%rbx),%ecx
>> +        and     $~(MULTIBOOT2_TAG_ALIGN-1),%ecx
> 
> Are we strictly guaranteed to have the entire image, including multiboot
> tags, loaded below 4GB virtual even in the 64bit case? Even on non-EFI
> capable grub2's ?

I can't speak for GrUB, but I've recently learned that EFI alone
doesn't appear to make such guarantees, and also doesn't look
to have ways to request such address restricted loading of an
image. Hence there'll be work needed to make at least xen.efi
cope with being loaded above that boundary.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.