grub-devel
[Top][All Lists]
Advanced

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

Re: OpenSolaris and multiboot


From: Johan Rydberg
Subject: Re: OpenSolaris and multiboot
Date: Wed, 22 Nov 2006 10:41:39 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Joe Bonasera <address@hidden> writes:

> Hollis Blanchard wrote:
>
>> GRUB2's 'multiboot' command will load ELF64 files, so the "a.out
>> hack"
>> shouldn't be necessary for you in the future.
>
> That's fine and will let us delete a small amount of code from both
> the kernel startup sequence and the tools used to build kernel.
>
> Just to be clear. For grub2 on x86, will it be true that there is only
> a single grub2 binary that understands both elf32 and elf64?

Yes.

> Would the different tags i86-pc vs x86_64 (if any) be determined by
> knowing if which type elf gets loaded?

My personal opinion is that we should not pass any information to the
kernel about what format it is provided in.  

If the image is an ELF64, it will be loaded as an ELF64.  So in your
case, for x86_64 hosts, provide the kernel as an ELF64 image.  For
IA-32, provide an ELF32 image.

~j

Attachment: pgpnT2wyUBBM1.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]