From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GmoXj-0005IK-T8 for mharc-grub-devel@gnu.org; Wed, 22 Nov 2006 04:37:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmoXe-0005Dl-WF for grub-devel@gnu.org; Wed, 22 Nov 2006 04:37:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmoXd-0005Br-2x for grub-devel@gnu.org; Wed, 22 Nov 2006 04:37:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmoXc-0005Bd-Fo for grub-devel@gnu.org; Wed, 22 Nov 2006 04:37:16 -0500 Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GmoXc-0007oV-3p for grub-devel@gnu.org; Wed, 22 Nov 2006 04:37:16 -0500 Received: from ironport2.bredband.com ([195.54.107.84] [195.54.107.84]) by mxfep01.bredband.com with ESMTP id <20061122093714.NVZD17968.mxfep01.bredband.com@ironport2.bredband.com> for ; Wed, 22 Nov 2006 10:37:14 +0100 Received: from c-e8df71d5.029-19-73746f13.cust.bredbandsbolaget.se (HELO localhost.localdomain) ([213.113.223.232]) by ironport2.bredband.com with ESMTP; 22 Nov 2006 10:36:45 +0100 From: Johan Rydberg To: The development of GRUB 2 References: <1163802029.20484.53.camel@basalt> <456252C2.1060101@sun.com> <1164124878.29331.17.camel@basalt> <45638ACC.3030000@sun.com> Date: Wed, 22 Nov 2006 10:41:39 +0100 In-Reply-To: <45638ACC.3030000@sun.com> (Joe Bonasera's message of "Tue, 21 Nov 2006 15:25:00 -0800") Message-ID: <87u00rhl7w.fsf@night.trouble.net> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: jan.setje-eilers@sun.com Subject: Re: OpenSolaris and multiboot X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2006 09:37:21 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Joe Bonasera 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.=20=20 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFZBtW3CqIy3K3X2ERAnWtAJwIFFjgpfbwQD9vmujHRmKjfK07WgCg0hIk RzUR9EIge/eLXaoR6HAY2jc= =mX2y -----END PGP SIGNATURE----- --=-=-=--