From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHcpD-00062G-UB for mharc-grub-devel@gnu.org; Wed, 23 Jan 2008 05:27:19 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHcpA-0005xv-U3 for grub-devel@gnu.org; Wed, 23 Jan 2008 05:27:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHcp8-0005uT-SS for grub-devel@gnu.org; Wed, 23 Jan 2008 05:27:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHcp8-0005uB-8Z for grub-devel@gnu.org; Wed, 23 Jan 2008 05:27:14 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JHcp7-0007ij-VU for grub-devel@gnu.org; Wed, 23 Jan 2008 05:27:14 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JHcp4-0004xa-Lw for grub-devel@gnu.org; Wed, 23 Jan 2008 11:27:13 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JHcnF-00018F-Ez for grub-devel@gnu.org; Wed, 23 Jan 2008 11:25:17 +0100 Date: Wed, 23 Jan 2008 11:25:17 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080123102517.GA4127@thorin> References: <20080121013836.GA8887@thorin> <87lk6gsydj.fsf@xs4all.nl> <20080123095758.GB1159@thorin> <87hch4svd0.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87hch4svd0.fsf@xs4all.nl> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] enable multiboot2 loader on i386-ieee1275 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, 23 Jan 2008 10:27:17 -0000 On Wed, Jan 23, 2008 at 11:13:15AM +0100, Marco Gerards wrote: > Robert Millan writes: > > >> Can't you use a tag for the pointer? > > > > We can, but that's not useful. If we can't make them compatible, I find it > > more feasible to write a separate loader for OFW images. > > Why not? Because right now you can turn an existing ELF program into Multiboot-compliance with only adding three lines: .long 0xe85250d6 .long 0 .long -0xe85250d6 this will allow you to boot it with GRUB. OTOH, if you have to add support for tag processing, and change the way it initialises its callback pointer, that makes it less worthwile. > > Though I don't see why not do it. The boot abi is already compatible on > > PowerPC: > > > > http://grub.enbug.org/MultibootDraft#head-198f9346038a3782a8263de281dd9cf2eb2759a8 > > Do you suggest to change the interface for x86? Yes. Multiboot2 is still a draft and not widely used (not even in comparison to Multiboot1). I don't think it's a big problem to change this. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)