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

Re: [Xen-devel] x86_64 to i386 boot generation conversion



On Tue, Jan 22, 2019 at 10:43:11AM +0100, nicolas.poirot@xxxxxxxxx wrote:
> Hi everyone,
> 
> I was wondering why when I build an x86_64 xen I got a mkelf32 command 
> converting elf 64 to elf 32.
> My understanding, looking at git-log, is that that was needed for 32bits 
> bootloaders.
> 
> Is that the only reason ? Is it still necessary today ?

The original multiboot specification [0] only deals with 32bit
addresses, so the elf headers need to be 32 bits for multiboot to be
able to load it. The more that the kernel is started in protected
mode, so addresses must be below the 4G boundary or else loading or
jumping into the entry point would fail.

Roger.

[0] https://www.gnu.org/software/grub/manual/multiboot/multiboot.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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