From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GmxJE-0002O5-Ni for mharc-grub-devel@gnu.org; Wed, 22 Nov 2006 13:59:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmxJD-0002Mm-Fm for grub-devel@gnu.org; Wed, 22 Nov 2006 13:58:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmxJB-0002Km-W5 for grub-devel@gnu.org; Wed, 22 Nov 2006 13:58:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmxJB-0002Kc-SG for grub-devel@gnu.org; Wed, 22 Nov 2006 13:58:57 -0500 Received: from [32.97.182.144] (helo=e4.ny.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GmxJB-000288-UC for grub-devel@gnu.org; Wed, 22 Nov 2006 13:58:58 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kAMIwsJ3026630 for ; Wed, 22 Nov 2006 13:58:54 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kAMIwo2e194484 for ; Wed, 22 Nov 2006 13:58:53 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kAMIwoZu001113 for ; Wed, 22 Nov 2006 13:58:50 -0500 Received: from [9.53.41.42] (basalt.austin.ibm.com [9.53.41.42]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kAMIwnx8000877; Wed, 22 Nov 2006 13:58:49 -0500 From: Hollis Blanchard To: Johan Rydberg In-Reply-To: <87u00rhl7w.fsf@night.trouble.net> References: <1163802029.20484.53.camel@basalt> <456252C2.1060101@sun.com> <1164124878.29331.17.camel@basalt> <45638ACC.3030000@sun.com> <87u00rhl7w.fsf@night.trouble.net> Content-Type: text/plain Date: Wed, 22 Nov 2006 12:58:27 -0600 Message-Id: <1164221907.29546.2.camel@basalt> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Cc: The development of GRUB 2 , 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 18:58:59 -0000 On Wed, 2006-11-22 at 10:41 +0100, Johan Rydberg wrote: > Joe Bonasera writes: > > > 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. I think he's referring to the "architecture-specific" tags (which are currently not fleshed out in the spec). There are different sections for x86 and x86-64, and it is a good question about when each is used. I'm really not sure what would be different about the two sets, but if there are differences, the ELF class seems like a reasonable way to decide which to use. -Hollis